config

package
v0.0.0-...-df8bd86 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Annotate

func Annotate(v *viper.Viper) map[string]string

func InitConfig

func InitConfig(cfg string) func()

initConfig reads in config file and ENV variables if set.

Types

type Chronic

type Chronic struct {
	Cron *cron.Cron
	*viper.Viper
}

func New

func New() *Chronic

func (*Chronic) Init

func (c *Chronic) Init() error

func (*Chronic) Write

func (c *Chronic) Write() error

Jump to

Keyboard shortcuts

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