Setup de la règle SendErrorRule

This commit is contained in:
Benjamin
2022-03-15 20:27:49 +01:00
parent 4a2a84b874
commit 43844c9b54
4 changed files with 10 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ func main() {
protocolRepository.AddWriter(&sendOkRule)
// Creation of the SendErrorRule
sendErrorRule := writers.CreateSendOkRule("^SEND_ERROR\r\n$")
sendErrorRule := writers.CreateSendErrorRule("^SEND_ERROR\r\n$")
protocolRepository.AddWriter(&sendErrorRule)
// Creation of the EraseOkRule