config

package
v0.0.0-...-d1d9210 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2017 License: MIT 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 {
	SlackAPIToken string `envconfig:"slack_api_token" json:"slackApiToken"`
	LastURL       string `json:"lastUrl,omitempty"`
}

func Load

func Load() *Config

func (*Config) Save

func (c *Config) Save() error

Jump to

Keyboard shortcuts

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