1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
8 api "git.fd.io/govpp.git/api"
11 // RPCService defines RPC service oddbuf.
12 type RPCService interface {
13 OddbufEnableDisable(ctx context.Context, in *OddbufEnableDisable) (*OddbufEnableDisableReply, error)
16 type serviceClient struct {
20 func NewServiceClient(conn api.Connection) RPCService {
21 return &serviceClient{conn}
24 func (c *serviceClient) OddbufEnableDisable(ctx context.Context, in *OddbufEnableDisable) (*OddbufEnableDisableReply, error) {
25 out := new(OddbufEnableDisableReply)
26 err := c.conn.Invoke(ctx, in, out)