frostfs-http-gw/main.go
2020-03-31 11:37:10 +03:00

18 lines
198 B
Go

package main
func main() {
var (
v = settings()
l = newLogger(v)
g = newGracefulContext(l)
a = newApp(
WithLogger(l),
WithConfig(v))
)
go a.Serve(g)
go a.Worker(g)
a.Wait()
}