mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
15 lines
389 B
Go
15 lines
389 B
Go
package msgqueue
|
|
|
|
import (
|
|
"github.com/chrislusf/seaweedfs/weed/util"
|
|
"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 util.Configuration) error
|
|
SendMessage(key string, message proto.Message) error
|
|
}
|