setting

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

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

Go to latest
Published: May 17, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// App settings
	AppVer  string
	AppName string
	AppURL  string
	AppPath string

	// server settings
	Protocol         string
	Domain           string
	HTTPAddr         string
	HTTPPort         string
	DisableRouterLog bool

	// Database setting
	RedisURI     string
	MongoURI     string
	ElasticHosts []string

	// Global setting objects
	Cfg      *ini.File
	ProdMode bool
)

Functions

func NewContext

func NewContext()

NewContext init the setting

Types

This section is empty.

Jump to

Keyboard shortcuts

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