From 12aff7bfe2cbaef04f952c17bc86631545a72b81 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Tue, 15 Feb 2022 11:32:16 +0100 Subject: [PATCH] Remove method in IProtocol.go match and add execute --- pkg/protocol/IProtocol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/protocol/IProtocol.go b/pkg/protocol/IProtocol.go index 4366ba6..eab861f 100644 --- a/pkg/protocol/IProtocol.go +++ b/pkg/protocol/IProtocol.go @@ -6,5 +6,5 @@ type IProtocol interface { Create(cmd string, pattern string) IProtocol // Permet de vérifier la validité d'une donnée censée suivre les règles d'un protocol - match(data string) bool + execute(data string) }