Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildConfig ¶
type Config ¶
type Config struct { *StoredConfig *BuildConfig BotUserID string MattermostSiteHostname string MattermostSiteURL string PluginURL string PluginURLPath string }
Config represents the the metadata handed to all request runners (command, http).
type Service ¶
type Service interface { Get() *Config Refresh() error Store(*StoredConfig) }
func NewService ¶
func NewService(build *BuildConfig, store Store) Service
func NewTestService ¶
type StoredConfig ¶
StoredConfig represents the data stored in and managed with the Mattermost config.
func (StoredConfig) Map ¶
func (c StoredConfig) Map(onto map[string]interface{}) map[string]interface{}
Click to show internal directories.
Click to hide internal directories.