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
|
|
|
|
|
|
|
GRPCUserIDKey = "GRPCUserID"
|
2017-11-10 13:24:10 +00:00
|
|
|
)
|