Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
[#267] pkg/client: Extend Client interface with Raw method
Browse files Browse the repository at this point in the history
Add `Client.Raw` method which returns underlying raw protobuf client.

Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
Leonard Lyubich authored and alexvanin committed Mar 17, 2021
1 parent a43175e commit 7cb9b8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ type Client interface {
Netmap
Object
Session

// Raw must return underlying raw protobuf client.
Raw() *client.Client
}

type clientImpl struct {
Expand Down

0 comments on commit 7cb9b8f

Please sign in to comment.