frostfs-s3-gw/cmd/s3-gw/main.go
Pavel Pogodaev 51322cccdf [#502] Add Dropped logs (by sampling) metric
Signed-off-by: Pavel Pogodaev <p.pogodaev@yadro.com>
2024-12-03 12:16:56 +00:00

18 lines
229 B
Go

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)
a.Wait()
}