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.

14 lines
389 B

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