g

package
v0.0.0-...-701cacc Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VERSION = "2.0.1"
)

change log: 1.0.7: code refactor for open source 1.0.8: bugfix loop init cache 1.0.9: update host table anyway 1.1.0: remove Checksum when query plugins 2.0.0: Complete rewrite, remove almost everything 2.0.1: Remove state file, add REST API for retrieveing state

Variables

View Source
var (
	ConfigFile string
)

Functions

func ParseConfig

func ParseConfig(cfg string)

Types

type GlobalConfig

type GlobalConfig struct {
	Debug        bool   `yaml:"debug"`
	Redis        string `yaml:"redis"`
	Listen       string `yaml:"listen"`
	HTTP         string `yaml:"http"`
	Transfer     string `yaml:"transfer"`
	PurgeSeconds int64  `yaml:"purgeSeconds"`
}

func Config

func Config() *GlobalConfig

Jump to

Keyboard shortcuts

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