From 122b2231e1a9eb9dd02f86dca09f58240a2062f1 Mon Sep 17 00:00:00 2001 From: Paul Hewlett Date: Tue, 15 Oct 2024 09:36:03 +0100 Subject: [PATCH] Add AssetClientCloser interface AB#9875 --- datatrails-common-api/assets/v2/assets/client.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/datatrails-common-api/assets/v2/assets/client.go b/datatrails-common-api/assets/v2/assets/client.go index f202eab..9172b2b 100644 --- a/datatrails-common-api/assets/v2/assets/client.go +++ b/datatrails-common-api/assets/v2/assets/client.go @@ -4,6 +4,12 @@ import ( "github.com/datatrails/go-datatrails-common/grpcclient" ) +type AssetsClientCloser interface { + AssetsClient + Open() error + Close() +} + type ClientOption = grpcclient.ClientOption type Client struct {