deprecated_overflow_gateway.../conf/conf.go

17 lines
594 B
Go
Raw Normal View History

2017-09-19 08:38:59 +00:00
package conf
import (
2017-09-19 08:59:57 +00:00
ofgc "git.loafle.net/overflow/overflow_gateway_config"
2017-09-19 08:38:59 +00:00
)
var Config Conf
type Conf struct {
2017-09-19 08:59:57 +00:00
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"`
2017-09-19 08:38:59 +00:00
}