Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotModified = errors.New("config not modified")
Functions ¶
func YAMLToJSON ¶
Types ¶
type AdminConfig ¶
type ConfigData ¶
type ConfigData struct { Modules []string `json:"modules"` Nodes []ConfigParam `json:"nodes"` }
type ConfigParam ¶
type NullString ¶
type NullString struct {
sql.NullString
}
func (*NullString) CodecDecodeSelf ¶
func (ns *NullString) CodecDecodeSelf(dec *codec.Decoder)
func (*NullString) CodecEncodeSelf ¶
func (ns *NullString) CodecEncodeSelf(enc *codec.Encoder)
type Updater ¶
type Updater struct {
// contains filtered or unexported fields
}
func NewUpdater ¶
func NewUpdater(config UpdaterConfig) *Updater
type UpdaterConfig ¶
type UpdaterConfig struct { Hostname string Admin AdminConfig DataDir string UpdateInterval time.Duration }
Click to show internal directories.
Click to hide internal directories.