configuration

package
v0.0.0-...-0866756 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2016 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MIN_UPDATE_PERIOD = 10
	MAX_UPDATE_PERIOD = 60 * 60
	VERSION           = "0.9.1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CFDNSUpdaterConfiguration

type CFDNSUpdaterConfiguration struct {
	Verbose       bool
	Quiet         bool
	LoggingMode   utils.LoggingMode
	DomainConfigs map[string]DomainConfiguration
}

type CommandLine

type CommandLine struct{}

func (*CommandLine) ParseParameters

func (self *CommandLine) ParseParameters(rawParams []string) (res *CFDNSUpdaterConfiguration, err error)

type DomainConfiguration

type DomainConfiguration struct {
	Email       string               `yaml:"email"`
	ApiKey      string               `yaml:"apikey"`
	Period      int                  `yaml:"period"`
	RecordNames []string             `yaml:"record_names"`
	RecordTypes core.RecordTypeSlice `yaml:"record_types"`
}

Jump to

Keyboard shortcuts

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