frostfs-s3-gw/cmd/gate/main.go
Evgeniy Kulikov 65b5d6e3d2 [#25] Fixes around cmd/gate
closes #25

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-10-13 12:31:23 +03:00

15 lines
173 B
Go

package main
func main() {
var (
v = newSettings()
l = newLogger(v)
g = newGracefulContext(l)
a = newApp(g, l, v)
)
go a.Server(g)
go a.Worker(g)
a.Wait()
}