conf

package
v0.0.0-...-41ff29f Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationConfig

type ApplicationConfig struct {
}

type Config

type Config struct {
	Redis     *redis.Config
	SQL       *sql.Config
	Grpc      *warden.ServerConfig
	App       *ApplicationConfig
	Snowflake *SnowflakeConfig
}

Config .

func NewConf

func NewConf() (conf *Config, err error)

type SnowflakeConfig

type SnowflakeConfig struct {
	EtcdCluster []string
	WorkerId    uint32
	SrvName     string
}

Jump to

Keyboard shortcuts

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