configs

package
Version: v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Conf = new(Config)
)

Functions

func Init

func Init() error

Types

type Config

type Config struct {
	Development bool
	SnowFlakeId int64
	Etcd        []string
	Log         *log.Options
	Mysql       *mysql.Config
	Server      *Srv
}

type Srv

type Srv struct {
	Addr string
}

Jump to

Keyboard shortcuts

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