Documentation
¶
Index ¶
- type AppServices
- func (a *AppServices) KVDelete(botUserID, prefix, id string) error
- func (a *AppServices) KVGet(botUserID, prefix, id string, ref interface{}) error
- func (a *AppServices) KVSet(botUserID, prefix, id string, ref interface{}) (bool, error)
- func (a *AppServices) Subscribe(sub *apps.Subscription) error
- func (a *AppServices) Unsubscribe(sub *apps.Subscription) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppServices ¶
type AppServices struct {
// contains filtered or unexported fields
}
func NewAppServices ¶
func NewAppServices(mm *pluginapi.Client, conf api.Configurator, store api.Store) *AppServices
func (*AppServices) KVDelete ¶
func (a *AppServices) KVDelete(botUserID, prefix, id string) error
func (*AppServices) KVGet ¶
func (a *AppServices) KVGet(botUserID, prefix, id string, ref interface{}) error
func (*AppServices) KVSet ¶
func (a *AppServices) KVSet(botUserID, prefix, id string, ref interface{}) (bool, error)
TODO use raw byte API: for now all JSON is re-encoded to use api.Mattermost API
func (*AppServices) Subscribe ¶
func (a *AppServices) Subscribe(sub *apps.Subscription) error
func (*AppServices) Unsubscribe ¶
func (a *AppServices) Unsubscribe(sub *apps.Subscription) error
Click to show internal directories.
Click to hide internal directories.