overflow_gateway_websocket/config/config.go

13 lines
522 B
Go
Raw Normal View History

2017-11-10 13:24:10 +00:00
package config
var Config GatewayConfig
type GatewayConfig struct {
2017-11-13 16:50:22 +00:00
Server *Server `json:"server" yaml:"server" toml:"server"`
Auth *Auth `json:"auth" yaml:"auth" toml:"auth"`
Websocket *Websocket `json:"websocket" yaml:"websocket" toml:"websocket"`
GRPC *GRPC `json:"gRPC" yaml:"gRPC" toml:"gRPC"`
Redis *Redis `json:"redis" yaml:"redis" toml:"redis"`
Servlets map[string]*Servlet `json:"servlets" yaml:"servlets" toml:"servlets"`
2017-11-10 13:24:10 +00:00
}