[#76] Update SDK to support interrupt pool dial

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-10-10 12:39:35 +03:00 committed by Alex Vanin
parent 3a1a17b8aa
commit 91d6ec0918
4 changed files with 51 additions and 29 deletions

View file

@ -2,6 +2,8 @@ package main
import (
"context"
"os/signal"
"syscall"
"github.com/go-openapi/loads"
"github.com/nspcc-dev/neofs-rest-gw/gen/restapi"
@ -10,7 +12,7 @@ import (
)
func main() {
ctx := context.Background()
ctx, _ := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
v := config()
logger := newLogger(v)