overflow_gateway_websocket/config/config.go
crusader 4542ab52e6 ing
2017-11-14 01:50:22 +09:00

13 lines
522 B
Go

package config
var Config GatewayConfig
type GatewayConfig struct {
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"`
}