config has been changed
This commit is contained in:
16
conf/conf.go
Normal file
16
conf/conf.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package conf
|
||||
|
||||
import (
|
||||
ofc "git.loafle.net/overflow/overflow_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"`
|
||||
}
|
||||
Reference in New Issue
Block a user