appservices

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL