setting

package
v0.0.0-...-782df1f Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KEY_RUN_MODE      = "RUN_MODE"
	KEY_HTTP_PORT     = "HTTP_PORT"
	KEY_READ_TIMEOUT  = "READ_TIMEOUT"
	KEY_WRITE_TIMEOUT = "WRITE_TIMEOUT"
	KEY_TEMPLATE_PATH = "TEMPLATE_PATH"
	KEY_STATIC_PATH   = "STATIC_PATH"
)

Variables

View Source
var (
	Cfg *ini.File

	RunMode string

	HTTPPort     int
	ReadTimeout  time.Duration
	WriteTimeout time.Duration
	TemplatePath string
	StaticPath   string
)

Functions

func LoadBase

func LoadBase()

func LoadServer

func LoadServer()

Types

This section is empty.

Jump to

Keyboard shortcuts

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