aboutsummaryrefslogtreecommitdiff
path: root/weed/msgqueue/message_queue.go
blob: 6d57b9b3b3667edb1a73415daf25ae4b7cd9a2d8 (plain)
1
2
3
4
5
6
7
8
9
10
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
}