updater

package
v0.0.0-...-4f8ce44 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Main ...

func WriteExampleConfig

func WriteExampleConfig(fileName string)

WriteExampleConfig ...

Types

type Config

type Config struct {
	Mongo      *mongo.Config `json:"mongo" yaml:"mongo" xml:"mongo"`
	SwitchOnly bool          `json:"switch_only" yaml:"switch_only" xml:"switch_only"`
	Init       bool          `json:"init" yaml:"init" xml:"init"`
}

Config ...

func ExampleConfig

func ExampleConfig() *Config

ExampleConfig ...

func NewConfig

func NewConfig() *Config

NewConfig ...

func (*Config) AssertValid

func (c *Config) AssertValid()

AssertValid ...

func (*Config) String

func (c *Config) String() string

func (*Config) YamlString

func (c *Config) YamlString() string

YamlString ...

Jump to

Keyboard shortcuts

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