config

package
v0.0.0-...-c67e788 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig()

func ReloadConfig

func ReloadConfig(conf Config)

Types

type Config

type Config struct {
	Debug        bool   `json:"debug"`
	LogLevel     string `json:"log_level"`
	HTTPPort     string `json:"http_port"`
	RPCPort      string `json:"rpc_port"`
	DebugPort    string `json:"debug_port"`
	RegisterAddr string `json:"register_addr"`
}
var (
	Conf Config
)

Jump to

Keyboard shortcuts

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