aboutsummaryrefslogtreecommitdiffstats
path: root/binapi/trace/trace_rpc.ba.go
diff options
context:
space:
mode:
Diffstat (limited to 'binapi/trace/trace_rpc.ba.go')
-rw-r--r--binapi/trace/trace_rpc.ba.go50
1 files changed, 50 insertions, 0 deletions
diff --git a/binapi/trace/trace_rpc.ba.go b/binapi/trace/trace_rpc.ba.go
new file mode 100644
index 0000000..f0f2ca7
--- /dev/null
+++ b/binapi/trace/trace_rpc.ba.go
@@ -0,0 +1,50 @@
+// Code generated by GoVPP's binapi-generator. DO NOT EDIT.
+
+package trace
+
+import (
+ "context"
+ api "git.fd.io/govpp.git/api"
+)
+
+// RPCService defines RPC service trace.
+type RPCService interface {
+ TraceProfileAdd(ctx context.Context, in *TraceProfileAdd) (*TraceProfileAddReply, error)
+ TraceProfileDel(ctx context.Context, in *TraceProfileDel) (*TraceProfileDelReply, error)
+ TraceProfileShowConfig(ctx context.Context, in *TraceProfileShowConfig) (*TraceProfileShowConfigReply, error)
+}
+
+type serviceClient struct {
+ conn api.Connection
+}
+
+func NewServiceClient(conn api.Connection) RPCService {
+ return &serviceClient{conn}
+}
+
+func (c *serviceClient) TraceProfileAdd(ctx context.Context, in *TraceProfileAdd) (*TraceProfileAddReply, error) {
+ out := new(TraceProfileAddReply)
+ err := c.conn.Invoke(ctx, in, out)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *serviceClient) TraceProfileDel(ctx context.Context, in *TraceProfileDel) (*TraceProfileDelReply, error) {
+ out := new(TraceProfileDelReply)
+ err := c.conn.Invoke(ctx, in, out)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *serviceClient) TraceProfileShowConfig(ctx context.Context, in *TraceProfileShowConfig) (*TraceProfileShowConfigReply, error) {
+ out := new(TraceProfileShowConfigReply)
+ err := c.conn.Invoke(ctx, in, out)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}