frostfs-node/cmd/neofs-node/config.go
Leonard Lyubich 65eb1181e9 [#11] Use gRPC handlers in neofs-node application
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-10-02 11:23:17 +03:00

22 lines
268 B
Go

package main
import (
"context"
"sync"
)
type cfg struct {
ctx context.Context
wg *sync.WaitGroup
grpcAddr string
}
func defaultCfg() *cfg {
return &cfg{
ctx: context.Background(),
wg: new(sync.WaitGroup),
grpcAddr: "127.0.0.1:50501",
}
}