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