blob: 3e26886987e5b137146b3d7a0ca16910cebe4b7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
}
|