Documentation ¶
Index ¶
- func New() store.Store
- func NewMemoryMessageStore(store *Store) store.MessageStore
- func NewMemoryRouteStore(memoryStore *Store) store.RouteStore
- func Plugin(config *viper.Viper) (store.Store, error)
- type MessageStore
- func (s *MessageStore) Get(id string) store.Channel
- func (s *MessageStore) GetByIds(ids []string) store.Channel
- func (s *MessageStore) GetByProviderAndMessageID(provider, providerMessageID string) store.Channel
- func (s *MessageStore) Save(message *model.Message) store.Channel
- func (s *MessageStore) Search(params map[string]interface{}) store.Channel
- func (s *MessageStore) Update(message *model.Message) store.Channel
- type RouteStore
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemoryMessageStore ¶
func NewMemoryMessageStore(store *Store) store.MessageStore
func NewMemoryRouteStore ¶
func NewMemoryRouteStore(memoryStore *Store) store.RouteStore
Types ¶
type MessageStore ¶
func (*MessageStore) GetByProviderAndMessageID ¶
func (s *MessageStore) GetByProviderAndMessageID(provider, providerMessageID string) store.Channel
type RouteStore ¶
func (*RouteStore) GetAll ¶
func (s *RouteStore) GetAll() store.Channel
Click to show internal directories.
Click to hide internal directories.