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