cfg

package
v0.0.0-...-67d4cb7 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(strFilename string)

LoadConfig 加载配置

Types

type TConfig

type TConfig struct {
	HTTP  string `json:"http,omitempty"`  // 工作端口
	Mongo string `json:"mongo,omitempty"` // MongoDB
}

TConfig 配置

var Config *TConfig

Config 配置

func (*TConfig) String

func (self *TConfig) String() string

Jump to

Keyboard shortcuts

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