frostfs-s3-gw/main.go

16 lines
171 B
Go
Raw Normal View History

2020-07-06 09:18:16 +00:00
package main
2020-07-06 09:18:16 +00:00
func main() {
var (
v = newSettings()
l = newLogger(v)
a = newApp(l, v)
g = newGracefulContext(l)
)
2020-07-06 09:18:16 +00:00
go a.Server(g)
go a.Worker(g)
2020-07-06 09:18:16 +00:00
a.Wait(g)
}