Versions in this module Expand all Collapse all v3 v3.4.0 Jun 10, 2020 Changes in this version type UpdaterConfig + Variables map[string]string v3.3.0 Oct 30, 2019 Changes in this version + var ErrNotModified = errors.New("config not modified") + func YAMLToJSON(y []byte) ([]byte, error) + type AdminConfig struct + Password string + URI string + Username string + type ConfigData struct + Modules []string + Nodes []ConfigParam + type ConfigParam struct + ContentType string + ID int + MTime string + Name string + Path string + Value NullString + Version int + type NullString struct + func (ns *NullString) CodecDecodeSelf(dec *codec.Decoder) + func (ns *NullString) CodecEncodeSelf(enc *codec.Encoder) + type Updater struct + func NewUpdater(config UpdaterConfig) *Updater + func (u *Updater) Run() + func (u *Updater) Stop() + func (u *Updater) Update() error + type UpdaterConfig struct + Admin AdminConfig + DataDir string + Hostname string + UpdateInterval time.Duration