diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-08-19 15:17:55 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-08-19 15:17:55 -0700 |
| commit | f827ada811bb807a9cf9e3db702a01e6f8e4ae3b (patch) | |
| tree | a1a18dc6e30b906bb97492aa98692003ec5a555d /weed/msgqueue/message_queue.go | |
| parent | c91372daa6ddceed2ef66e6e36d986658551d237 (diff) | |
| download | seaweedfs-f827ada811bb807a9cf9e3db702a01e6f8e4ae3b.tar.xz seaweedfs-f827ada811bb807a9cf9e3db702a01e6f8e4ae3b.zip | |
merge notification config with filer.toml
Diffstat (limited to 'weed/msgqueue/message_queue.go')
| -rw-r--r-- | weed/msgqueue/message_queue.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/weed/msgqueue/message_queue.go b/weed/msgqueue/message_queue.go index 6d57b9b3b..a14d9b480 100644 --- a/weed/msgqueue/message_queue.go +++ b/weed/msgqueue/message_queue.go @@ -1,11 +1,14 @@ package msgqueue -import "github.com/golang/protobuf/proto" +import ( + "github.com/golang/protobuf/proto" + "github.com/chrislusf/seaweedfs/weed/util" +) 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 + Initialize(configuration util.Configuration) error SendMessage(key string, message proto.Message) error } |
