Use case: We would like to replace grpc calls to protocol-engine (currently via otg_grpc_pb.go) by gosnappi in ixia-c controller implementation.
The issue is grpc-Client in gosnappiApi is a private member with no public accessible APIs
type gosnappiApi struct {
api
grpcClient snappipb.OpenapiClient
httpClient httpClient
}
It would be help if api.grpcClient is exposed through a new/get hook on gosnappiApi so that further API calls (SetConfig/SetProtocolState/...) using this client could be made; e.g.
Use case: We would like to replace grpc calls to protocol-engine (currently via otg_grpc_pb.go) by gosnappi in ixia-c controller implementation.
The issue is grpc-Client in gosnappiApi is a private member with no public accessible APIs
It would be help if api.grpcClient is exposed through a new/get hook on gosnappiApi so that further API calls (SetConfig/SetProtocolState/...) using this client could be made; e.g.