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-14 05:57:03 +00:00
|
|
|
ServletSocketKey = cuc.ContextKey("ServletSocket")
|
|
|
|
ServletContentTypeKey = cuc.ContextKey("ServletContentType")
|
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
|
|
|
)
|