Chanegement PREFIX SendFileRule.go

This commit is contained in:
Benjamin 2022-03-14 11:10:23 +01:00
parent 237b37aa3e
commit 06d46dc697
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ func main() {
protocolRepository.AddReader(&eraseFileRule)
// Creation of the SendFileRule // TODO reset to 50,200
sendFileRule := readers.CreateSendFileRule("^SENDFILE ([A-Za-z0-9.]{1,200}) ([0-9]{1,10}) ([A-Za-z0-9.]{50,200})\r\n$", protocolRepository, appConfig.StoragePath)
sendFileRule := readers.CreateSendFileRule("^SENDFILE ([A-Za-z0-9.]{50,200}) ([0-9]{1,10}) ([A-Za-z0-9.]{50,200})\r\n$", protocolRepository, appConfig.StoragePath)
protocolRepository.AddReader(&sendFileRule)
// Create a Multicast Client & run it

View File

@ -12,7 +12,7 @@ import (
)
// SendFileRulePrefix Rule command prefix
const SendFileRulePrefix = "ffe_sendfile"
const SendFileRulePrefix = "SENDFILE"
// SendFileRule Storage structure for the SendFileRule
type SendFileRule struct {