add filer notification
This commit is contained in:
11
weed/msgqueue/message_queue.go
Normal file
11
weed/msgqueue/message_queue.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user