Enums

package
v0.0.0-...-a291660 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const API_VERSION = "v2"
View Source
const API_VERSION_V3 = "v3"
View Source
const APP_NAME = "SeasConfig"
View Source
const APP_STATUS_OK = "OK"
View Source
const APP_VERSION = "0.1.0"
View Source
const DB_DIR = "./db/"
View Source
const DB_FILE_APPS = "apps.gob"
View Source
const DB_FILE_CONFIG = "config.gob"
View Source
const DB_FILE_PRODUCTS = "products.gob"
View Source
const ENUM_CHANNEL_COUNT = 500
View Source
const RUNTIME_GC_TIME_DEFAULT = 1

Variables

View Source
var (
	Compress            string
	ChannelCount        int
	RuntimeGC           int
	ConnectTimeout      int
	ResponseTimeout     int
	MaxIdleConnsPerHost int
	IdleConnTimeout     int
	DBProductsFile      string
)
View Source
var (
	HAVE_NO_PRODUCT = "Have No Product In SeasConfig"

	NOT_FOUND_PRODUCT = errors.New("Can Not Found Product")
	NOT_FOUND_APP     = errors.New("Can Not Found App")
	NOT_FOUND_CONFIG  = errors.New("Can Not Found Config")
)

Functions

func CheckIfDebug

func CheckIfDebug() bool

func GetChannelCount

func GetChannelCount() int

func GetDBAppsFile

func GetDBAppsFile(pid string) string

func GetDBConfigFile

func GetDBConfigFile(pid string, aid string) string

func GetDBProductDir

func GetDBProductDir(pid string) string

func GetDBProductsFile

func GetDBProductsFile() string

func GetRuntimeGC

func GetRuntimeGC() int

Types

This section is empty.

Jump to

Keyboard shortcuts

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