config

package
v0.0.0-...-51f1470 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Slack SlackConfig `yaml:"slack"`
}

func New

func New(cfgPath string) (*Config, error)

type SlackConfig

type SlackConfig struct {
	ClientId          string `yaml:"client_id"`
	ClientSecret      string `yaml:"client_secret"`
	VerificationToken string `yaml:"verification_token"`
	AuthToken         string `yaml:"auth_token"`
	Channel           string `yaml:"channel"`
}

Jump to

Keyboard shortcuts

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