mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-03 02:32:35 +01:00
merge notification config with filer.toml
This commit is contained in:
1 parent
c91372daa6
commit
f827ada811
17 files changed
+70
-236
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user