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