config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2016 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 {
	Token string `json:"token,omitempty"`

	User *dutyme.User `json:"user,omitempty"`

	ScheduleID   string `json:"schedule_id,omitempty"`
	ScheduleName string `json:"schedule_name,omitempty"`
}

func ParseFile

func ParseFile(path string) (*Config, error)

func (*Config) IsEmpty

func (c *Config) IsEmpty() bool

func (*Config) WriteFile

func (c *Config) WriteFile(path string, indent bool) error

Jump to

Keyboard shortcuts

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