config

package
v0.0.0-...-8eaa731 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Mattermost plugin.API
	BotUserID  string
)

Functions

func SetConfig

func SetConfig(c *Configuration)

Types

type Configuration

type Configuration struct {
	Secret string `json:"Secret"`
}

func GetConfig

func GetConfig() *Configuration

func (*Configuration) IsValid

func (c *Configuration) IsValid() error

func (*Configuration) ProcessConfiguration

func (c *Configuration) ProcessConfiguration() error

Jump to

Keyboard shortcuts

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