Versions in this module Expand all Collapse all v1 v1.0.2 Jan 1, 2019 Changes in this version + const CRTNAME + const KEYNAME + const LIVETIME + const SSL + var CRT_NAME string = "impush.crt" + var EX_LIVETIME = 60 + var HTTP_SSL bool = false + var KEY_NAME string = "impush.key" v1.0.1 Nov 28, 2018 Changes in this version + const CLUSTER + const CLUSTERCLIENT + const CLUSTER_CLIENT_NET_BREAK + const CLUSTER_CLIENT_START_ERROR + const CLUSTER_CLIENT_START_SUCCESS + const CLUSTER_CONN_SERVER + const CLUSTER_LIVECHEAK + const CLUSTER_LIVEDELAY + const CLUSTER_LIVETIME + const COMPATIBLE + const CONSOLE + const DEADLINE + const EX + const HTTP + const HTTPCLIENT + const IPHASH + const LOCAL_PORT + const LOG + const MODEL + const OPEN + const PATH + const PORT + const REMOTE_HOST + const REMOTE_PORT + const START + const TCP + const TCPCLIENT + const WS + var CLUSTER_LOCAL_PORT int = 6574 + var CLUSTER_REMOTE_HOST string = "127.0.0.1" + var CLUSTER_REMOTE_PORT int = 6574 + var CLUSTER_START = false + var EX_C_BLANK_NUM = 256 + var EX_DEADLINE = 60 + var EX_MODEL = "C" + var EX_START = false + var HTTP_PORT int = 5222 + var HTTP_START bool = true + var LOG_CONSOLE = false + var LOG_OPEN = false + var LOG_PATH = "log" + var TCP_PORT int = 4646 + var TCP_START bool = false + var WS_START = false + func Init() + type Configure struct + Cg *config.Config + Path string + func (cfg *Configure) GetValue(key string) string + func (cfg *Configure) PutValue(key string, value string)