forked from TrueCloudLab/frostfs-api-go
session: move errors to a separate file
This commit is contained in:
parent
b079a7604f
commit
2c2150b101
3 changed files with 15 additions and 9 deletions
|
@ -4,7 +4,6 @@ import (
|
|||
"context"
|
||||
"crypto/ecdsa"
|
||||
|
||||
"github.com/nspcc-dev/neofs-api-go/internal"
|
||||
"github.com/nspcc-dev/neofs-api-go/service"
|
||||
crypto "github.com/nspcc-dev/neofs-crypto"
|
||||
"google.golang.org/grpc"
|
||||
|
@ -18,10 +17,6 @@ type gRPCCreator struct {
|
|||
clientFunc func(*grpc.ClientConn) SessionClient
|
||||
}
|
||||
|
||||
const ErrNilCreateParamsSource = internal.Error("create params source is nil")
|
||||
|
||||
const ErrNilGPRCClientConn = internal.Error("gRPC client connection is nil")
|
||||
|
||||
// NewGRPCCreator unites virtual gRPC client with private ket and returns Creator interface.
|
||||
//
|
||||
// If passed ClientConn is nil, ErrNilGPRCClientConn returns.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue