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

19 lines
229 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()
a := newApp(g, v)
go a.Serve(g)
2020-07-12 23:00:47 +00:00
a.Wait()
}