gateway

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gateway_proto protoreflect.FileDescriptor

Functions

func RegisterGatewayServiceServer

func RegisterGatewayServiceServer(s *grpc.Server, srv GatewayServiceServer)

Types

type GatewayServiceClient

type GatewayServiceClient interface {
	LoadAndExec(ctx context.Context, in *LoadExecRequest, opts ...grpc.CallOption) (*LoadExecResult, error)
}

GatewayServiceClient is the client API for GatewayService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type GatewayServiceServer

type GatewayServiceServer interface {
	LoadAndExec(context.Context, *LoadExecRequest) (*LoadExecResult, error)
}

GatewayServiceServer is the server API for GatewayService service.

type LoadExecRequest

type LoadExecRequest struct {
	Params  [][]byte `protobuf:"bytes,1,rep,name=Params,proto3" json:"Params,omitempty"`
	Token   string   `protobuf:"bytes,2,opt,name=Token,proto3" json:"Token,omitempty"`
	ExecUrl string   `protobuf:"bytes,3,opt,name=ExecUrl,proto3" json:"ExecUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadExecRequest) Descriptor deprecated

func (*LoadExecRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoadExecRequest.ProtoReflect.Descriptor instead.

func (*LoadExecRequest) GetExecUrl

func (x *LoadExecRequest) GetExecUrl() string

func (*LoadExecRequest) GetParams

func (x *LoadExecRequest) GetParams() [][]byte

func (*LoadExecRequest) GetToken

func (x *LoadExecRequest) GetToken() string

func (*LoadExecRequest) ProtoMessage

func (*LoadExecRequest) ProtoMessage()

func (*LoadExecRequest) ProtoReflect

func (x *LoadExecRequest) ProtoReflect() protoreflect.Message

func (*LoadExecRequest) Reset

func (x *LoadExecRequest) Reset()

func (*LoadExecRequest) String

func (x *LoadExecRequest) String() string

type LoadExecResult

type LoadExecResult struct {
	Payload []byte `protobuf:"bytes,1,opt,name=Payload,proto3" json:"Payload,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadExecResult) Descriptor deprecated

func (*LoadExecResult) Descriptor() ([]byte, []int)

Deprecated: Use LoadExecResult.ProtoReflect.Descriptor instead.

func (*LoadExecResult) GetPayload

func (x *LoadExecResult) GetPayload() []byte

func (*LoadExecResult) ProtoMessage

func (*LoadExecResult) ProtoMessage()

func (*LoadExecResult) ProtoReflect

func (x *LoadExecResult) ProtoReflect() protoreflect.Message

func (*LoadExecResult) Reset

func (x *LoadExecResult) Reset()

func (*LoadExecResult) String

func (x *LoadExecResult) String() string

type UnimplementedGatewayServiceServer

type UnimplementedGatewayServiceServer struct {
}

UnimplementedGatewayServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedGatewayServiceServer) LoadAndExec

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL