businesses

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: 2

Documentation

Index

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

Jump to

Keyboard shortcuts

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