deprecated_overflow_gateway.../conf/conf.go
crusader 02b77bb617 ing
2017-11-09 18:14:57 +09:00

17 lines
594 B
Go

package conf
import (
oogc "git.loafle.net/overflow/overflow_gateway_config"
)
var Config Conf
type Conf struct {
Server oogc.Server `json:"server" yaml:"server" toml:"server"`
Auth oogc.Auth `json:"auth" yaml:"auth" toml:"auth"`
Websocket oogc.Websocket `json:"websocket" yaml:"websocket" toml:"websocket"`
GRPC oogc.GRPC `json:"gRPC" yaml:"gRPC" toml:"gRPC"`
Redis oogc.Redis `json:"redis" yaml:"redis" toml:"redis"`
Handlers map[string]oogc.Handler `json:"handlers" yaml:"handlers" toml:"handlers"`
}