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