add filer notification

This commit is contained in:
Chris Lu committed 2018-08-13 01:20:49 -07:00
1 parent 75d63db60d
commit f036ef8a3c
13 files changed
+428 -101

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package msgqueue
import "github.com/golang/protobuf/proto"
type MessageQueue interface {
// GetName gets the name to locate the configuration in message_queue.toml file
GetName() string
// Initialize initializes the file store
Initialize(configuration Configuration) error
SendMessage(key string, message proto.Message) error
}