cleanup net config
This commit is contained in:
parent
065ff11983
commit
5a6661eab1
@ -11,14 +11,9 @@ type ConfigGetter interface {
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
Server ServerConfig `yaml:"server"`
|
||||
Stream StreamConfig `yaml:"stream"`
|
||||
}
|
||||
|
||||
type ServerConfig struct {
|
||||
ListenAddrs []string `yaml:"listenAddrs"`
|
||||
}
|
||||
|
||||
type StreamConfig struct {
|
||||
TimeoutMilliseconds int `yaml:"timeoutMilliseconds"`
|
||||
MaxMsgSizeMb int `yaml:"maxMsgSizeMb"`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user