1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
7 api "git.fd.io/govpp.git/api"
10 // RPCService defines RPC service trace.
11 type RPCService interface {
12 TraceProfileAdd(ctx context.Context, in *TraceProfileAdd) (*TraceProfileAddReply, error)
13 TraceProfileDel(ctx context.Context, in *TraceProfileDel) (*TraceProfileDelReply, error)
14 TraceProfileShowConfig(ctx context.Context, in *TraceProfileShowConfig) (*TraceProfileShowConfigReply, error)
17 type serviceClient struct {
21 func NewServiceClient(conn api.Connection) RPCService {
22 return &serviceClient{conn}
25 func (c *serviceClient) TraceProfileAdd(ctx context.Context, in *TraceProfileAdd) (*TraceProfileAddReply, error) {
26 out := new(TraceProfileAddReply)
27 err := c.conn.Invoke(ctx, in, out)
34 func (c *serviceClient) TraceProfileDel(ctx context.Context, in *TraceProfileDel) (*TraceProfileDelReply, error) {
35 out := new(TraceProfileDelReply)
36 err := c.conn.Invoke(ctx, in, out)
43 func (c *serviceClient) TraceProfileShowConfig(ctx context.Context, in *TraceProfileShowConfig) (*TraceProfileShowConfigReply, error) {
44 out := new(TraceProfileShowConfigReply)
45 err := c.conn.Invoke(ctx, in, out)