ing
This commit is contained in:
parent
b9232b20e6
commit
59ed7df624
14
conf/conf.go
14
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"`
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user