overflow_gateway_websocket/constants.go

18 lines
317 B
Go
Raw Normal View History

2017-11-10 13:24:10 +00:00
package overflow_gateway_websocket
import (
2017-11-14 05:57:03 +00:00
cuc "git.loafle.net/commons_go/util/context"
2017-11-10 13:24:10 +00:00
)
var (
2017-11-28 10:40:45 +00:00
ServletSocketKey = cuc.ContextKey("ServletSocket")
SocketIDKey = cuc.ContextKey("SocketID")
2017-11-10 13:24:10 +00:00
)
const (
ConfigPathFlagName = "config-dir"
ConfigFileName = "config.json"
2017-11-14 05:57:03 +00:00
2018-03-16 06:05:51 +00:00
GRPCSessionIDKey = "SESSION_ID"
2017-11-10 13:24:10 +00:00
)