Versions in this module Expand all Collapse all v2 v2.3.3 Mar 12, 2021 Changes in this version + var File_proto_order_order_proto protoreflect.FileDescriptor + func NewOrderEndpoints() []*api.Endpoint + func RegisterOrderHandler(s server.Server, hdlr OrderHandler, opts ...server.HandlerOption) error + type CancelReq struct + Index uint32 + func (*CancelReq) Descriptor() ([]byte, []int) + func (*CancelReq) ProtoMessage() + func (x *CancelReq) GetIndex() uint32 + func (x *CancelReq) ProtoReflect() protoreflect.Message + func (x *CancelReq) Reset() + func (x *CancelReq) String() string + type MMessage struct + Function uint32 + Index uint32 + ParNo uint32 + Params []uint32 + func (*MMessage) Descriptor() ([]byte, []int) + func (*MMessage) ProtoMessage() + func (x *MMessage) GetFunction() uint32 + func (x *MMessage) GetIndex() uint32 + func (x *MMessage) GetParNo() uint32 + func (x *MMessage) GetParams() []uint32 + func (x *MMessage) ProtoReflect() protoreflect.Message + func (x *MMessage) Reset() + func (x *MMessage) String() string + type OrderHandler interface + CancelTask func(context.Context, *CancelReq, *Response) error + HostIsConnected func(context.Context, *Request, *Response) error + SendMMessage func(context.Context, *MMessage, *Response) error + SendQAMessage func(context.Context, *QAMessage, *Response) error + SendQBMessage func(context.Context, *QBMessage, *Response) error + UpdateTask func(context.Context, *UpdateReq, *Response) error + type OrderService interface + CancelTask func(ctx context.Context, in *CancelReq, opts ...client.CallOption) (*Response, error) + HostIsConnected func(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) + SendMMessage func(ctx context.Context, in *MMessage, opts ...client.CallOption) (*Response, error) + SendQAMessage func(ctx context.Context, in *QAMessage, opts ...client.CallOption) (*Response, error) + SendQBMessage func(ctx context.Context, in *QBMessage, opts ...client.CallOption) (*Response, error) + UpdateTask func(ctx context.Context, in *UpdateReq, opts ...client.CallOption) (*Response, error) + func NewOrderService(name string, c client.Client) OrderService + type QAMessage struct + Params []uint32 + Priority uint32 + TsID uint32 + func (*QAMessage) Descriptor() ([]byte, []int) + func (*QAMessage) ProtoMessage() + func (x *QAMessage) GetParams() []uint32 + func (x *QAMessage) GetPriority() uint32 + func (x *QAMessage) GetTsID() uint32 + func (x *QAMessage) ProtoReflect() protoreflect.Message + func (x *QAMessage) Reset() + func (x *QAMessage) String() string + type QBMessage struct + Code uint32 + Ikey uint32 + Params []uint32 + Priority uint32 + TsID uint32 + func (*QBMessage) Descriptor() ([]byte, []int) + func (*QBMessage) ProtoMessage() + func (x *QBMessage) GetCode() uint32 + func (x *QBMessage) GetIkey() uint32 + func (x *QBMessage) GetParams() []uint32 + func (x *QBMessage) GetPriority() uint32 + func (x *QBMessage) GetTsID() uint32 + func (x *QBMessage) ProtoReflect() protoreflect.Message + func (x *QBMessage) Reset() + func (x *QBMessage) String() string + type Request struct + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (x *Request) ProtoReflect() protoreflect.Message + func (x *Request) Reset() + func (x *Request) String() string + type Response struct + Message string + Res bool + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (x *Response) GetMessage() string + func (x *Response) GetRes() bool + func (x *Response) ProtoReflect() protoreflect.Message + func (x *Response) Reset() + func (x *Response) String() string + type Task struct + Ikey uint32 + Params []int32 + Priority uint32 + TsId uint32 + func (*Task) Descriptor() ([]byte, []int) + func (*Task) ProtoMessage() + func (x *Task) GetIkey() uint32 + func (x *Task) GetParams() []int32 + func (x *Task) GetPriority() uint32 + func (x *Task) GetTsId() uint32 + func (x *Task) ProtoReflect() protoreflect.Message + func (x *Task) Reset() + func (x *Task) String() string + type UpdateReq struct + Index uint32 + ParaNo uint32 + Value uint32 + func (*UpdateReq) Descriptor() ([]byte, []int) + func (*UpdateReq) ProtoMessage() + func (x *UpdateReq) GetIndex() uint32 + func (x *UpdateReq) GetParaNo() uint32 + func (x *UpdateReq) GetValue() uint32 + func (x *UpdateReq) ProtoReflect() protoreflect.Message + func (x *UpdateReq) Reset() + func (x *UpdateReq) String() string