forked from x/icebergs
43 lines
553 B
Go
43 lines
553 B
Go
package ice
|
|
|
|
const (
|
|
ICE_INIT = "_init"
|
|
ICE_EXIT = "_exit"
|
|
ICE_TIME = "2006-01-02 15:04:05"
|
|
)
|
|
|
|
const (
|
|
CTX_STATUS = "status"
|
|
CTX_STREAM = "stream"
|
|
)
|
|
|
|
const (
|
|
MSG_DETAIL = "detail"
|
|
MSG_OPTION = "option"
|
|
MSG_APPEND = "append"
|
|
MSG_RESULT = "result"
|
|
)
|
|
|
|
const (
|
|
MDB_META = "meta"
|
|
MDB_LIST = "hash"
|
|
MDB_HASH = "list"
|
|
)
|
|
|
|
const (
|
|
WEB_PORT = ":9020"
|
|
WEB_SESS = "sessid"
|
|
)
|
|
|
|
const (
|
|
LOG_CMD = "cmd"
|
|
LOG_INFO = "info"
|
|
LOG_WARN = "warn"
|
|
LOG_ERROR = "error"
|
|
|
|
LOG_BEGIN = "begin"
|
|
LOG_START = "start"
|
|
LOG_BENCH = "bench"
|
|
LOG_CLOSE = "close"
|
|
)
|