Skip to content

Commit

Permalink
client
Browse files Browse the repository at this point in the history
  • Loading branch information
paulwe committed Sep 21, 2024
1 parent 55159f8 commit ce9e11c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rpc/egress_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,8 @@ func (c *egressClient) StartEgress(ctx context.Context, topic string, req *Start
}, opts...)
return c.EgressInternalClient.StartEgress(ctx, topic, req, o...)
}

func (c *egressClient) Close() {
c.EgressInternalClient.Close()
c.EgressHandlerClient.Close()
}
5 changes: 5 additions & 0 deletions rpc/ingress_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ func NewIngressClient(params ClientParams) (IngressClient, error) {
IngressHandlerClient: handlerClient,
}, nil
}

func (c *ingressClient) Close() {
c.IngressInternalClient.Close()
c.IngressHandlerClient.Close()
}

0 comments on commit ce9e11c

Please sign in to comment.