Documentation ¶
Overview ¶
Package clconf loads CLient Conf from configuration files.
Index ¶
Constants ¶
View Source
const ( PrimaryConfigName = "disdup.conf" OutputConfigName = "outputs.conf" )
Key os-independent file names or paths.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") ErrSyntax = errors.New("bad syntax") ErrIO = errors.New("I/O error") ErrOutput = errors.New("invalid output") )
Generic config loading related errors.
View Source
var ( ErrWrongType = errors.New("unexpected type") ErrUnknownCollate = errors.New("unknown collation mode") ErrMissingCommand = errors.New("missing key: command") )
Output parsing or processing errors.
Functions ¶
func LoadConfig ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.