server: Separate client listener grouping from serving

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
Marek Siarkowicz
2023-03-10 14:06:44 +01:00
parent 63576a25f5
commit 245067b15d
2 changed files with 26 additions and 20 deletions

View File

@@ -50,8 +50,10 @@ import (
)
type serveCtx struct {
lg *zap.Logger
l net.Listener
lg *zap.Logger
l net.Listener
scheme string
addr string
network string
secure bool