diff --git a/conf/conf.go b/conf/conf.go index 0e17170..f3d4755 100644 --- a/conf/conf.go +++ b/conf/conf.go @@ -1,16 +1,16 @@ package conf import ( - ofc "git.loafle.net/overflow/overflow_config" + ofgc "git.loafle.net/overflow/overflow_gateway_config" ) var Config Conf type Conf struct { - Server ofc.Server `json:"server" yaml:"server" toml:"server"` - Auth ofc.Auth `json:"auth" yaml:"auth" toml:"auth"` - Websocket ofc.Websocket `json:"websocket" yaml:"websocket" toml:"websocket"` - GRPC ofc.GRPC `json:"gRPC" yaml:"gRPC" toml:"gRPC"` - Redis ofc.Redis `json:"redis" yaml:"redis" toml:"redis"` - Handlers map[string]ofc.Handler `json:"handlers" yaml:"handlers" toml:"handlers"` + 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"` } diff --git a/glide.yaml b/glide.yaml index fd71b29..b7147f3 100644 --- a/glide.yaml +++ b/glide.yaml @@ -28,4 +28,4 @@ import: - package: google.golang.org/grpc subpackages: - metadata -- package: git.loafle.net/overflow/overflow_config +- package: git.loafle.net/overflow/overflow_gateway_config