config

package
v0.0.0-...-2a7e34a Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSetting

func InitSetting()

func MapTo

func MapTo(content string) (err error)

func NewRegistry

func NewRegistry() registry.Registry

Types

type App

type App struct {
	Name string `yaml:"name"`
	Port int64  `yaml:"port"`
}

type Conf

type Conf struct {
	App App `yaml:"app"`
}
var GlobalConf Conf

Jump to

Keyboard shortcuts

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