conf

package
v0.0.0-...-26b160e Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

@Time : 2018/8/21 11:32 @Author : kenny zhu @File : conf.go @Software: GoLand @Others:

@Time : 2018/8/21 11:28 @Author : kenny zhu @File : json.go @Software: GoLand @Others:

Index

Constants

This section is empty.

Variables

View Source
var AppConf struct {
	//logger..
	LogLevel int32  `json:"LogLevel"`
	LogPath  string `json:"LogPath"`

	//srv set..
	ApiName    string `json:"ApiName"`
	SrvName    string `json:"SrvName"`
	VersionTag int    `json:"Version"`

	// IP : port
	IpAddress string `json:"IpAddress"`
	Port      int32  `json:"Port"`
}
View Source
var TlsCfg *tls.Config

Functions

func Init

func Init(configFile string)

self init...configFile = "./conf/api.json"...

Types

This section is empty.

Jump to

Keyboard shortcuts

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