You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
335 B

  1. package msgqueue
  2. import "github.com/golang/protobuf/proto"
  3. type MessageQueue interface {
  4. // GetName gets the name to locate the configuration in message_queue.toml file
  5. GetName() string
  6. // Initialize initializes the file store
  7. Initialize(configuration Configuration) error
  8. SendMessage(key string, message proto.Message) error
  9. }