diff options
author | Vladimir Lavor <vlavor@cisco.com> | 2020-09-16 13:44:31 +0200 |
---|---|---|
committer | Vladimir Lavor <vlavor@cisco.com> | 2020-09-18 10:41:12 +0200 |
commit | 43cd23926d5eec359d4b554a4330e1aa596c76de (patch) | |
tree | 344b7d9a19e2ec84b6f7aaa7c7667a8b94d06ab4 /binapi/pp2/pp2_rpc.ba.go | |
parent | e517439567ad843033257664fdfe90a9173b0aa6 (diff) |
binapigen: fix union size
This change fixes calculated byte size of the union
composed from another union(s).
Change-Id: I596a3c2a585cc42570b1d00dab3a5ad4993dabfa
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Diffstat (limited to 'binapi/pp2/pp2_rpc.ba.go')
-rw-r--r-- | binapi/pp2/pp2_rpc.ba.go | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/binapi/pp2/pp2_rpc.ba.go b/binapi/pp2/pp2_rpc.ba.go deleted file mode 100644 index d1f0bf5..0000000 --- a/binapi/pp2/pp2_rpc.ba.go +++ /dev/null @@ -1,41 +0,0 @@ -// Code generated by GoVPP's binapi-generator. DO NOT EDIT. - -package pp2 - -import ( - "context" - - api "git.fd.io/govpp.git/api" -) - -// RPCService defines RPC service pp2. -type RPCService interface { - MrvlPp2Create(ctx context.Context, in *MrvlPp2Create) (*MrvlPp2CreateReply, error) - MrvlPp2Delete(ctx context.Context, in *MrvlPp2Delete) (*MrvlPp2DeleteReply, error) -} - -type serviceClient struct { - conn api.Connection -} - -func NewServiceClient(conn api.Connection) RPCService { - return &serviceClient{conn} -} - -func (c *serviceClient) MrvlPp2Create(ctx context.Context, in *MrvlPp2Create) (*MrvlPp2CreateReply, error) { - out := new(MrvlPp2CreateReply) - err := c.conn.Invoke(ctx, in, out) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serviceClient) MrvlPp2Delete(ctx context.Context, in *MrvlPp2Delete) (*MrvlPp2DeleteReply, error) { - out := new(MrvlPp2DeleteReply) - err := c.conn.Invoke(ctx, in, out) - if err != nil { - return nil, err - } - return out, nil -} |