forked from TrueCloudLab/frostfs-api-go
[#267] pkg/client: Extend Client interface with Raw method
Add `Client.Raw` method which returns underlying raw protobuf client. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
a43175e2ea
commit
7cb9b8f283
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ type Client interface {
|
||||||
Netmap
|
Netmap
|
||||||
Object
|
Object
|
||||||
Session
|
Session
|
||||||
|
|
||||||
|
// Raw must return underlying raw protobuf client.
|
||||||
|
Raw() *client.Client
|
||||||
}
|
}
|
||||||
|
|
||||||
type clientImpl struct {
|
type clientImpl struct {
|
||||||
|
|
Loading…
Reference in a new issue