frostfs-http-gw/cmd/http-gw/main.go
Pavel Pogodaev e81f01c2ab [#150] Add dropped logs metric
Signed-off-by: Pavel Pogodaev <p.pogodaev@yadro.com>
2024-12-04 15:49:25 +03:00

16 lines
277 B
Go

package main
import (
"context"
"os/signal"
"syscall"
)
func main() {
globalContext, _ := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
v := settings()
application := newApp(globalContext, v)
go application.Serve()
application.Wait()
}