Chanegement PREFIX SendFileRule.go
This commit is contained in:
parent
237b37aa3e
commit
06d46dc697
@ -63,7 +63,7 @@ func main() {
|
|||||||
protocolRepository.AddReader(&eraseFileRule)
|
protocolRepository.AddReader(&eraseFileRule)
|
||||||
|
|
||||||
// Creation of the SendFileRule // TODO reset to 50,200
|
// 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)
|
protocolRepository.AddReader(&sendFileRule)
|
||||||
|
|
||||||
// Create a Multicast Client & run it
|
// Create a Multicast Client & run it
|
||||||
|
@ -12,7 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// SendFileRulePrefix Rule command prefix
|
// SendFileRulePrefix Rule command prefix
|
||||||
const SendFileRulePrefix = "ffe_sendfile"
|
const SendFileRulePrefix = "SENDFILE"
|
||||||
|
|
||||||
// SendFileRule Storage structure for the SendFileRule
|
// SendFileRule Storage structure for the SendFileRule
|
||||||
type SendFileRule struct {
|
type SendFileRule struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user