seaweedfs/weed/msgqueue/message_queue.go

12 lines
335 B
Go
Raw Normal View History

2018-08-13 08:20:49 +00:00
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
}