deprecated_overflow_gateway.../conf/conf.go
crusader 59ed7df624 ing
2017-09-19 17:59:57 +09:00

17 lines
594 B
Go

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