config

package
v0.0.0-...-59e6379 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConfig

type DBConfig struct {
	UserName, Password string
	Address            string
	Database           string
	IdleConnections    int
	MaxConnections     int
}

func DB

func DB() *DBConfig

type ENVConfig

type ENVConfig struct {
	EnableAPM bool
}

func ENV

func ENV() *ENVConfig

type HTTPConfig

type HTTPConfig struct {
	LitenAddress string
}

func HTTP

func HTTP() *HTTPConfig

Jump to

Keyboard shortcuts

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