blob: a14d9b480beae296e8073240f0d7e39b003e7eed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package msgqueue
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 util.Configuration) error
SendMessage(key string, message proto.Message) error
}
|