2021-11-09 08:07:49 +00:00
|
|
|
package client
|
|
|
|
|
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
|
2021-11-16 18:15:56 +00:00
|
|
|
"github.com/nspcc-dev/neofs-api-go/v2/rpc/client"
|
2021-11-09 08:07:49 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Raw returns underlying raw protobuf client.
|
2021-12-29 13:18:09 +00:00
|
|
|
func (c *Client) Raw() *client.Client {
|
2021-11-09 08:07:49 +00:00
|
|
|
return c.raw
|
|
|
|
}
|
|
|
|
|
2021-12-29 13:21:22 +00:00
|
|
|
// Conn implements Client.Conn method.
|
2021-12-29 13:18:09 +00:00
|
|
|
func (c *Client) Conn() io.Closer {
|
2021-11-09 08:07:49 +00:00
|
|
|
return c.raw.Conn()
|
|
|
|
}
|