Documentation ¶
Index ¶
- Variables
- func RegisterBusinessesServer(s *grpc.Server, srv BusinessesServer)
- type BusinessesClient
- type BusinessesServer
- type ExecRequest
- func (*ExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecRequest) GetExecUrl() string
- func (x *ExecRequest) GetParams() [][]byte
- func (x *ExecRequest) GetToken() string
- func (*ExecRequest) ProtoMessage()
- func (x *ExecRequest) ProtoReflect() protoreflect.Message
- func (x *ExecRequest) Reset()
- func (x *ExecRequest) String() string
- type ExecResult
- type UnimplementedBusinessesServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_businesses_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBusinessesServer ¶
func RegisterBusinessesServer(s *grpc.Server, srv BusinessesServer)
Types ¶
type BusinessesClient ¶
type BusinessesClient interface {
Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResult, error)
}
BusinessesClient is the client API for Businesses service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBusinessesClient ¶
func NewBusinessesClient(cc grpc.ClientConnInterface) BusinessesClient
type BusinessesServer ¶
type BusinessesServer interface {
Exec(context.Context, *ExecRequest) (*ExecResult, error)
}
BusinessesServer is the server API for Businesses service.
type ExecRequest ¶
type ExecRequest 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 (*ExecRequest) Descriptor
deprecated
func (*ExecRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
func (*ExecRequest) GetExecUrl ¶
func (x *ExecRequest) GetExecUrl() string
func (*ExecRequest) GetParams ¶
func (x *ExecRequest) GetParams() [][]byte
func (*ExecRequest) GetToken ¶
func (x *ExecRequest) GetToken() string
func (*ExecRequest) ProtoMessage ¶
func (*ExecRequest) ProtoMessage()
func (*ExecRequest) ProtoReflect ¶
func (x *ExecRequest) ProtoReflect() protoreflect.Message
func (*ExecRequest) Reset ¶
func (x *ExecRequest) Reset()
func (*ExecRequest) String ¶
func (x *ExecRequest) String() string
type ExecResult ¶
type ExecResult struct { Payload []byte `protobuf:"bytes,1,opt,name=Payload,proto3" json:"Payload,omitempty"` // contains filtered or unexported fields }
func (*ExecResult) Descriptor
deprecated
func (*ExecResult) Descriptor() ([]byte, []int)
Deprecated: Use ExecResult.ProtoReflect.Descriptor instead.
func (*ExecResult) GetPayload ¶
func (x *ExecResult) GetPayload() []byte
func (*ExecResult) ProtoMessage ¶
func (*ExecResult) ProtoMessage()
func (*ExecResult) ProtoReflect ¶
func (x *ExecResult) ProtoReflect() protoreflect.Message
func (*ExecResult) Reset ¶
func (x *ExecResult) Reset()
func (*ExecResult) String ¶
func (x *ExecResult) String() string
type UnimplementedBusinessesServer ¶
type UnimplementedBusinessesServer struct { }
UnimplementedBusinessesServer can be embedded to have forward compatible implementations.
func (*UnimplementedBusinessesServer) Exec ¶
func (*UnimplementedBusinessesServer) Exec(context.Context, *ExecRequest) (*ExecResult, error)
Click to show internal directories.
Click to hide internal directories.