managerConf

package
v0.0.0-...-054b70b Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func PrintCurrConfig

func PrintCurrConfig()

func SaveConfig

func SaveConfig(conf Config) error

Types

type Client

type Client struct {
	Name    string `yaml:"name"`
	Version string `yaml:"version"`
	Params  string `yaml:"params"`
}

type Config

type Config struct {
	Interval int64  `yaml:"interval"`
	Language string `yaml:"language"`

	Clients []Client `yaml:"clients,flow"`
}
var (
	Inst Config
)

func NewConfig

func NewConfig() Config

func ReadCurrConfig

func ReadCurrConfig() Config

Jump to

Keyboard shortcuts

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