config

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2013 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigDir

func ConfigDir() string

func EtcdNodes

func EtcdNodes() []string

func Interval

func Interval() int

func IsFileExist

func IsFileExist(fpath string) bool

func Onetime

func Onetime() bool

func Prefix

func Prefix() string

func SetConfFile

func SetConfFile(path string)

func SetConfig

func SetConfig() error

func TemplateDir

func TemplateDir() string

Types

type Config

type Config struct {
	Confd confd
}

type Nodes

type Nodes []string

func (*Nodes) Set

func (n *Nodes) Set(node string) error

func (*Nodes) String

func (n *Nodes) String() string

Jump to

Keyboard shortcuts

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