forked from TrueCloudLab/frostfs-sdk-go
cb42437e5c
Return structure instead. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
17 lines
283 B
Go
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()
|
|
}
|