frostfs-s3-gw/cmd/s3-gw/main.go

21 lines
253 B
Go
Raw Normal View History

2020-07-06 09:18:16 +00:00
package main
import (
"context"
"os/signal"
"syscall"
)
func main() {
g, _ := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
v := newSettings()
l := pickLogger(v)
a := newApp(g, l, v)
go a.Serve(g)
2020-07-12 23:00:47 +00:00
a.Wait()
}