config

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadTOMLFilename

func LoadTOMLFilename(filename string) string

Types

type Config

type Config struct {
	SlackURL       string
	Token          string
	PrimaryChannel string
	Channel        string
	SnippetChannel string
	Username       string
	IconEmoji      string
	Duration       time.Duration
}

func NewConfig

func NewConfig() *Config

func (*Config) LoadTOML

func (c *Config) LoadTOML(filename string) error

Jump to

Keyboard shortcuts

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