From 7cb9b8f283c20746cfe1ebd8c64a3805040bd1f8 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 17 Mar 2021 14:16:22 +0300 Subject: [PATCH] [#267] pkg/client: Extend Client interface with Raw method Add `Client.Raw` method which returns underlying raw protobuf client. Signed-off-by: Leonard Lyubich --- pkg/client/client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/client/client.go b/pkg/client/client.go index 99d1e59..1db894b 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -13,6 +13,9 @@ type Client interface { Netmap Object Session + + // Raw must return underlying raw protobuf client. + Raw() *client.Client } type clientImpl struct {