diff options
Diffstat (limited to 'internal/testbinapi/binapi2001/gso')
-rw-r--r-- | internal/testbinapi/binapi2001/gso/gso.ba.go | 5 | ||||
-rw-r--r-- | internal/testbinapi/binapi2001/gso/gso_rpc.ba.go | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/internal/testbinapi/binapi2001/gso/gso.ba.go b/internal/testbinapi/binapi2001/gso/gso.ba.go index 374191b..ed33544 100644 --- a/internal/testbinapi/binapi2001/gso/gso.ba.go +++ b/internal/testbinapi/binapi2001/gso/gso.ba.go @@ -1,6 +1,6 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: -// binapi-generator: v0.4.0-dev +// binapi-generator: v0.5.0-dev // VPP: 20.01 // source: .vppapi/core/gso.api.json @@ -14,9 +14,10 @@ package gso import ( + "strconv" + api "git.fd.io/govpp.git/api" codec "git.fd.io/govpp.git/codec" - "strconv" ) // This is a compile-time assertion to ensure that this generated file diff --git a/internal/testbinapi/binapi2001/gso/gso_rpc.ba.go b/internal/testbinapi/binapi2001/gso/gso_rpc.ba.go index d955acc..0d3ed10 100644 --- a/internal/testbinapi/binapi2001/gso/gso_rpc.ba.go +++ b/internal/testbinapi/binapi2001/gso/gso_rpc.ba.go @@ -4,10 +4,11 @@ package gso import ( "context" + api "git.fd.io/govpp.git/api" ) -// RPCService defines RPC service gso. +// RPCService defines RPC service gso. type RPCService interface { FeatureGsoEnableDisable(ctx context.Context, in *FeatureGsoEnableDisable) (*FeatureGsoEnableDisableReply, error) } @@ -26,5 +27,5 @@ func (c *serviceClient) FeatureGsoEnableDisable(ctx context.Context, in *Feature if err != nil { return nil, err } - return out, nil + return out, api.RetvalToVPPApiError(out.Retval) } |