frostfs-sdk-go/client/raw.go
Pavel Karpy cb42437e5c [#111] client: Drop client.Client interface
Return structure instead.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-01-11 11:03:14 +03:00

17 lines
283 B
Go

package client
import (
"io"
"github.com/nspcc-dev/neofs-api-go/v2/rpc/client"
)
// Raw returns underlying raw protobuf client.
func (c *Client) Raw() *client.Client {
return c.raw
}
// implements Client.Conn method.
func (c *Client) Conn() io.Closer {
return c.raw.Conn()
}