From 5a6661eab18068f922193799d2dd131f517909f0 Mon Sep 17 00:00:00 2001 From: Sergey Cherepanov Date: Wed, 7 Jun 2023 20:52:09 +0200 Subject: [PATCH] cleanup net config --- net/config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/net/config.go b/net/config.go index 333261dd..d1634d2c 100644 --- a/net/config.go +++ b/net/config.go @@ -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"`