Documentation ¶
Index ¶
- Variables
- type BaseReq
- type BaseResp
- func (p *BaseResp) GetRespCode() (v RespCodeEnum)
- func (p *BaseResp) GetRespMessage() (v string)
- func (p *BaseResp) Read(iprot thrift.TProtocol) (err error)
- func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error
- func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error
- func (p *BaseResp) String() string
- func (p *BaseResp) Write(oprot thrift.TProtocol) (err error)
- type DOMPrinterService
- type DOMPrinterServiceClient
- func NewDOMPrinterServiceClient(c thrift.TClient) *DOMPrinterServiceClient
- func NewDOMPrinterServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *DOMPrinterServiceClient
- func NewDOMPrinterServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *DOMPrinterServiceClient
- func (p *DOMPrinterServiceClient) Client_() thrift.TClient
- func (p *DOMPrinterServiceClient) FetchPrintTask(ctx context.Context, request *FetchPrintTaskReq) (r *FetchPrintTaskResp, err error)
- func (p *DOMPrinterServiceClient) Ping(ctx context.Context, request *PingReq) (r *PingResp, err error)
- func (p *DOMPrinterServiceClient) SubmitPrintTask(ctx context.Context, request *SubmitPrintTaskReq) (r *SubmitPrintTaskResp, err error)
- func (p *DOMPrinterServiceClient) UpdatePrintTask(ctx context.Context, request *UpdatePrintTaskReq) (r *UpdatePrintTaskResp, err error)
- type DOMPrinterServiceFetchPrintTaskArgs
- func (p *DOMPrinterServiceFetchPrintTaskArgs) GetRequest() (v *FetchPrintTaskReq)
- func (p *DOMPrinterServiceFetchPrintTaskArgs) IsSetRequest() bool
- func (p *DOMPrinterServiceFetchPrintTaskArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *DOMPrinterServiceFetchPrintTaskArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *DOMPrinterServiceFetchPrintTaskArgs) String() string
- func (p *DOMPrinterServiceFetchPrintTaskArgs) Write(oprot thrift.TProtocol) (err error)
- type DOMPrinterServiceFetchPrintTaskResult
- func (p *DOMPrinterServiceFetchPrintTaskResult) GetSuccess() (v *FetchPrintTaskResp)
- func (p *DOMPrinterServiceFetchPrintTaskResult) IsSetSuccess() bool
- func (p *DOMPrinterServiceFetchPrintTaskResult) Read(iprot thrift.TProtocol) (err error)
- func (p *DOMPrinterServiceFetchPrintTaskResult) ReadField0(iprot thrift.TProtocol) error
- func (p *DOMPrinterServiceFetchPrintTaskResult) String() string
- func (p *DOMPrinterServiceFetchPrintTaskResult) Write(oprot thrift.TProtocol) (err error)
- type DOMPrinterServicePingArgs
- func (p *DOMPrinterServicePingArgs) GetRequest() (v *PingReq)
- func (p *DOMPrinterServicePingArgs) IsSetRequest() bool
- func (p *DOMPrinterServicePingArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *DOMPrinterServicePingArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *DOMPrinterServicePingArgs) String() string
- func (p *DOMPrinterServicePingArgs) Write(oprot thrift.TProtocol) (err error)
- type DOMPrinterServicePingResult
- func (p *DOMPrinterServicePingResult) GetSuccess() (v *PingResp)
- func (p *DOMPrinterServicePingResult) IsSetSuccess() bool
- func (p *DOMPrinterServicePingResult) Read(iprot thrift.TProtocol) (err error)
- func (p *DOMPrinterServicePingResult) ReadField0(iprot thrift.TProtocol) error
- func (p *DOMPrinterServicePingResult) String() string
- func (p *DOMPrinterServicePingResult) Write(oprot thrift.TProtocol) (err error)
- type DOMPrinterServiceProcessor
- func (p *DOMPrinterServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *DOMPrinterServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *DOMPrinterServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *DOMPrinterServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type DOMPrinterServiceSubmitPrintTaskArgs
- func (p *DOMPrinterServiceSubmitPrintTaskArgs) GetRequest() (v *SubmitPrintTaskReq)
- func (p *DOMPrinterServiceSubmitPrintTaskArgs) IsSetRequest() bool
- func (p *DOMPrinterServiceSubmitPrintTaskArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *DOMPrinterServiceSubmitPrintTaskArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *DOMPrinterServiceSubmitPrintTaskArgs) String() string
- func (p *DOMPrinterServiceSubmitPrintTaskArgs) Write(oprot thrift.TProtocol) (err error)
- type DOMPrinterServiceSubmitPrintTaskResult
- func (p *DOMPrinterServiceSubmitPrintTaskResult) GetSuccess() (v *SubmitPrintTaskResp)
- func (p *DOMPrinterServiceSubmitPrintTaskResult) IsSetSuccess() bool
- func (p *DOMPrinterServiceSubmitPrintTaskResult) Read(iprot thrift.TProtocol) (err error)
- func (p *DOMPrinterServiceSubmitPrintTaskResult) ReadField0(iprot thrift.TProtocol) error
- func (p *DOMPrinterServiceSubmitPrintTaskResult) String() string
- func (p *DOMPrinterServiceSubmitPrintTaskResult) Write(oprot thrift.TProtocol) (err error)
- type DOMPrinterServiceUpdatePrintTaskArgs
- func (p *DOMPrinterServiceUpdatePrintTaskArgs) GetRequest() (v *UpdatePrintTaskReq)
- func (p *DOMPrinterServiceUpdatePrintTaskArgs) IsSetRequest() bool
- func (p *DOMPrinterServiceUpdatePrintTaskArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *DOMPrinterServiceUpdatePrintTaskArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *DOMPrinterServiceUpdatePrintTaskArgs) String() string
- func (p *DOMPrinterServiceUpdatePrintTaskArgs) Write(oprot thrift.TProtocol) (err error)
- type DOMPrinterServiceUpdatePrintTaskResult
- func (p *DOMPrinterServiceUpdatePrintTaskResult) GetSuccess() (v *UpdatePrintTaskResp)
- func (p *DOMPrinterServiceUpdatePrintTaskResult) IsSetSuccess() bool
- func (p *DOMPrinterServiceUpdatePrintTaskResult) Read(iprot thrift.TProtocol) (err error)
- func (p *DOMPrinterServiceUpdatePrintTaskResult) ReadField0(iprot thrift.TProtocol) error
- func (p *DOMPrinterServiceUpdatePrintTaskResult) String() string
- func (p *DOMPrinterServiceUpdatePrintTaskResult) Write(oprot thrift.TProtocol) (err error)
- type FetchPrintTaskReq
- func (p *FetchPrintTaskReq) GetBaseReq() (v *BaseReq)
- func (p *FetchPrintTaskReq) GetLimitTaskNum() (v int64)
- func (p *FetchPrintTaskReq) GetOffsetTaskID() (v int64)
- func (p *FetchPrintTaskReq) GetTaskState() (v TaskStateEnum)
- func (p *FetchPrintTaskReq) IsSetBaseReq() bool
- func (p *FetchPrintTaskReq) IsSetLimitTaskNum() bool
- func (p *FetchPrintTaskReq) IsSetOffsetTaskID() bool
- func (p *FetchPrintTaskReq) Read(iprot thrift.TProtocol) (err error)
- func (p *FetchPrintTaskReq) ReadField1(iprot thrift.TProtocol) error
- func (p *FetchPrintTaskReq) ReadField2(iprot thrift.TProtocol) error
- func (p *FetchPrintTaskReq) ReadField255(iprot thrift.TProtocol) error
- func (p *FetchPrintTaskReq) ReadField3(iprot thrift.TProtocol) error
- func (p *FetchPrintTaskReq) String() string
- func (p *FetchPrintTaskReq) Write(oprot thrift.TProtocol) (err error)
- type FetchPrintTaskResp
- func (p *FetchPrintTaskResp) GetBaseResp() (v *BaseResp)
- func (p *FetchPrintTaskResp) GetPrintTaskList() (v []*PrintTaskDTO)
- func (p *FetchPrintTaskResp) IsSetBaseResp() bool
- func (p *FetchPrintTaskResp) Read(iprot thrift.TProtocol) (err error)
- func (p *FetchPrintTaskResp) ReadField1(iprot thrift.TProtocol) error
- func (p *FetchPrintTaskResp) ReadField255(iprot thrift.TProtocol) error
- func (p *FetchPrintTaskResp) String() string
- func (p *FetchPrintTaskResp) Write(oprot thrift.TProtocol) (err error)
- type PingReq
- type PingResp
- type PrintTaskDTO
- func (p *PrintTaskDTO) GetFileName() (v string)
- func (p *PrintTaskDTO) GetLanguage() (v string)
- func (p *PrintTaskDTO) GetLocation() (v string)
- func (p *PrintTaskDTO) GetPrintTaskID() (v int64)
- func (p *PrintTaskDTO) GetSourceCode() (v string)
- func (p *PrintTaskDTO) GetSubmitTime() (v string)
- func (p *PrintTaskDTO) GetTaskState() (v TaskStateEnum)
- func (p *PrintTaskDTO) GetTeamID() (v string)
- func (p *PrintTaskDTO) GetTeamName() (v string)
- func (p *PrintTaskDTO) GetUserName() (v string)
- func (p *PrintTaskDTO) Read(iprot thrift.TProtocol) (err error)
- func (p *PrintTaskDTO) ReadField1(iprot thrift.TProtocol) error
- func (p *PrintTaskDTO) ReadField10(iprot thrift.TProtocol) error
- func (p *PrintTaskDTO) ReadField2(iprot thrift.TProtocol) error
- func (p *PrintTaskDTO) ReadField3(iprot thrift.TProtocol) error
- func (p *PrintTaskDTO) ReadField4(iprot thrift.TProtocol) error
- func (p *PrintTaskDTO) ReadField5(iprot thrift.TProtocol) error
- func (p *PrintTaskDTO) ReadField6(iprot thrift.TProtocol) error
- func (p *PrintTaskDTO) ReadField7(iprot thrift.TProtocol) error
- func (p *PrintTaskDTO) ReadField8(iprot thrift.TProtocol) error
- func (p *PrintTaskDTO) ReadField9(iprot thrift.TProtocol) error
- func (p *PrintTaskDTO) String() string
- func (p *PrintTaskDTO) Write(oprot thrift.TProtocol) (err error)
- type RespCodeEnum
- type SubmitPrintTaskReq
- func (p *SubmitPrintTaskReq) GetBaseReq() (v *BaseReq)
- func (p *SubmitPrintTaskReq) GetPrintTask() (v *PrintTaskDTO)
- func (p *SubmitPrintTaskReq) IsSetBaseReq() bool
- func (p *SubmitPrintTaskReq) IsSetPrintTask() bool
- func (p *SubmitPrintTaskReq) Read(iprot thrift.TProtocol) (err error)
- func (p *SubmitPrintTaskReq) ReadField1(iprot thrift.TProtocol) error
- func (p *SubmitPrintTaskReq) ReadField255(iprot thrift.TProtocol) error
- func (p *SubmitPrintTaskReq) String() string
- func (p *SubmitPrintTaskReq) Write(oprot thrift.TProtocol) (err error)
- type SubmitPrintTaskResp
- func (p *SubmitPrintTaskResp) GetBaseResp() (v *BaseResp)
- func (p *SubmitPrintTaskResp) GetPrintTaskID() (v int64)
- func (p *SubmitPrintTaskResp) GetTaskState() (v TaskStateEnum)
- func (p *SubmitPrintTaskResp) IsSetBaseResp() bool
- func (p *SubmitPrintTaskResp) Read(iprot thrift.TProtocol) (err error)
- func (p *SubmitPrintTaskResp) ReadField1(iprot thrift.TProtocol) error
- func (p *SubmitPrintTaskResp) ReadField2(iprot thrift.TProtocol) error
- func (p *SubmitPrintTaskResp) ReadField255(iprot thrift.TProtocol) error
- func (p *SubmitPrintTaskResp) String() string
- func (p *SubmitPrintTaskResp) Write(oprot thrift.TProtocol) (err error)
- type TaskStateEnum
- type UpdatePrintTaskReq
- func (p *UpdatePrintTaskReq) GetBaseReq() (v *BaseReq)
- func (p *UpdatePrintTaskReq) GetPrintTaskIDList() (v []int64)
- func (p *UpdatePrintTaskReq) GetTaskState() (v TaskStateEnum)
- func (p *UpdatePrintTaskReq) IsSetBaseReq() bool
- func (p *UpdatePrintTaskReq) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdatePrintTaskReq) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdatePrintTaskReq) ReadField2(iprot thrift.TProtocol) error
- func (p *UpdatePrintTaskReq) ReadField255(iprot thrift.TProtocol) error
- func (p *UpdatePrintTaskReq) String() string
- func (p *UpdatePrintTaskReq) Write(oprot thrift.TProtocol) (err error)
- type UpdatePrintTaskResp
- func (p *UpdatePrintTaskResp) GetBaseResp() (v *BaseResp)
- func (p *UpdatePrintTaskResp) IsSetBaseResp() bool
- func (p *UpdatePrintTaskResp) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdatePrintTaskResp) ReadField255(iprot thrift.TProtocol) error
- func (p *UpdatePrintTaskResp) String() string
- func (p *UpdatePrintTaskResp) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var FetchPrintTaskReq_LimitTaskNum_DEFAULT int64
View Source
var FetchPrintTaskReq_OffsetTaskID_DEFAULT int64
Functions ¶
This section is empty.
Types ¶
type BaseReq ¶ added in v0.0.2
type BaseReq struct {
AuthToken string `thrift:"AuthToken,1,required" header:"X-DOM-TOKEN,required" json:"AuthToken,required"`
}
var FetchPrintTaskReq_BaseReq_DEFAULT *BaseReq
var SubmitPrintTaskReq_BaseReq_DEFAULT *BaseReq
var UpdatePrintTaskReq_BaseReq_DEFAULT *BaseReq
func NewBaseReq ¶ added in v0.0.2
func NewBaseReq() *BaseReq
func (*BaseReq) GetAuthToken ¶ added in v0.0.2
func (*BaseReq) ReadField1 ¶ added in v0.0.2
type BaseResp ¶
type BaseResp struct { RespCode RespCodeEnum `thrift:"RespCode,1" form:"RespCode" json:"RespCode" query:"RespCode"` RespMessage string `thrift:"RespMessage,2" form:"RespMessage" json:"RespMessage" query:"RespMessage"` }
var FetchPrintTaskResp_BaseResp_DEFAULT *BaseResp
var SubmitPrintTaskResp_BaseResp_DEFAULT *BaseResp
var UpdatePrintTaskResp_BaseResp_DEFAULT *BaseResp
func NewBaseResp ¶
func NewBaseResp() *BaseResp
func (*BaseResp) GetRespCode ¶
func (p *BaseResp) GetRespCode() (v RespCodeEnum)
func (*BaseResp) GetRespMessage ¶
type DOMPrinterService ¶
type DOMPrinterService interface { FetchPrintTask(ctx context.Context, request *FetchPrintTaskReq) (r *FetchPrintTaskResp, err error) SubmitPrintTask(ctx context.Context, request *SubmitPrintTaskReq) (r *SubmitPrintTaskResp, err error) UpdatePrintTask(ctx context.Context, request *UpdatePrintTaskReq) (r *UpdatePrintTaskResp, err error) Ping(ctx context.Context, request *PingReq) (r *PingResp, err error) }
type DOMPrinterServiceClient ¶
type DOMPrinterServiceClient struct {
// contains filtered or unexported fields
}
func NewDOMPrinterServiceClient ¶
func NewDOMPrinterServiceClient(c thrift.TClient) *DOMPrinterServiceClient
func NewDOMPrinterServiceClientFactory ¶
func NewDOMPrinterServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *DOMPrinterServiceClient
func NewDOMPrinterServiceClientProtocol ¶
func NewDOMPrinterServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *DOMPrinterServiceClient
func (*DOMPrinterServiceClient) Client_ ¶
func (p *DOMPrinterServiceClient) Client_() thrift.TClient
func (*DOMPrinterServiceClient) FetchPrintTask ¶
func (p *DOMPrinterServiceClient) FetchPrintTask(ctx context.Context, request *FetchPrintTaskReq) (r *FetchPrintTaskResp, err error)
func (*DOMPrinterServiceClient) SubmitPrintTask ¶
func (p *DOMPrinterServiceClient) SubmitPrintTask(ctx context.Context, request *SubmitPrintTaskReq) (r *SubmitPrintTaskResp, err error)
func (*DOMPrinterServiceClient) UpdatePrintTask ¶
func (p *DOMPrinterServiceClient) UpdatePrintTask(ctx context.Context, request *UpdatePrintTaskReq) (r *UpdatePrintTaskResp, err error)
type DOMPrinterServiceFetchPrintTaskArgs ¶
type DOMPrinterServiceFetchPrintTaskArgs struct {
Request *FetchPrintTaskReq `thrift:"request,1"`
}
func NewDOMPrinterServiceFetchPrintTaskArgs ¶
func NewDOMPrinterServiceFetchPrintTaskArgs() *DOMPrinterServiceFetchPrintTaskArgs
func (*DOMPrinterServiceFetchPrintTaskArgs) GetRequest ¶
func (p *DOMPrinterServiceFetchPrintTaskArgs) GetRequest() (v *FetchPrintTaskReq)
func (*DOMPrinterServiceFetchPrintTaskArgs) IsSetRequest ¶
func (p *DOMPrinterServiceFetchPrintTaskArgs) IsSetRequest() bool
func (*DOMPrinterServiceFetchPrintTaskArgs) Read ¶
func (p *DOMPrinterServiceFetchPrintTaskArgs) Read(iprot thrift.TProtocol) (err error)
func (*DOMPrinterServiceFetchPrintTaskArgs) ReadField1 ¶
func (p *DOMPrinterServiceFetchPrintTaskArgs) ReadField1(iprot thrift.TProtocol) error
func (*DOMPrinterServiceFetchPrintTaskArgs) String ¶
func (p *DOMPrinterServiceFetchPrintTaskArgs) String() string
type DOMPrinterServiceFetchPrintTaskResult ¶
type DOMPrinterServiceFetchPrintTaskResult struct {
Success *FetchPrintTaskResp `thrift:"success,0,optional"`
}
func NewDOMPrinterServiceFetchPrintTaskResult ¶
func NewDOMPrinterServiceFetchPrintTaskResult() *DOMPrinterServiceFetchPrintTaskResult
func (*DOMPrinterServiceFetchPrintTaskResult) GetSuccess ¶
func (p *DOMPrinterServiceFetchPrintTaskResult) GetSuccess() (v *FetchPrintTaskResp)
func (*DOMPrinterServiceFetchPrintTaskResult) IsSetSuccess ¶
func (p *DOMPrinterServiceFetchPrintTaskResult) IsSetSuccess() bool
func (*DOMPrinterServiceFetchPrintTaskResult) Read ¶
func (p *DOMPrinterServiceFetchPrintTaskResult) Read(iprot thrift.TProtocol) (err error)
func (*DOMPrinterServiceFetchPrintTaskResult) ReadField0 ¶
func (p *DOMPrinterServiceFetchPrintTaskResult) ReadField0(iprot thrift.TProtocol) error
func (*DOMPrinterServiceFetchPrintTaskResult) String ¶
func (p *DOMPrinterServiceFetchPrintTaskResult) String() string
type DOMPrinterServicePingArgs ¶ added in v0.0.7
type DOMPrinterServicePingArgs struct {
Request *PingReq `thrift:"request,1"`
}
func NewDOMPrinterServicePingArgs ¶ added in v0.0.7
func NewDOMPrinterServicePingArgs() *DOMPrinterServicePingArgs
func (*DOMPrinterServicePingArgs) GetRequest ¶ added in v0.0.7
func (p *DOMPrinterServicePingArgs) GetRequest() (v *PingReq)
func (*DOMPrinterServicePingArgs) IsSetRequest ¶ added in v0.0.7
func (p *DOMPrinterServicePingArgs) IsSetRequest() bool
func (*DOMPrinterServicePingArgs) Read ¶ added in v0.0.7
func (p *DOMPrinterServicePingArgs) Read(iprot thrift.TProtocol) (err error)
func (*DOMPrinterServicePingArgs) ReadField1 ¶ added in v0.0.7
func (p *DOMPrinterServicePingArgs) ReadField1(iprot thrift.TProtocol) error
func (*DOMPrinterServicePingArgs) String ¶ added in v0.0.7
func (p *DOMPrinterServicePingArgs) String() string
type DOMPrinterServicePingResult ¶ added in v0.0.7
type DOMPrinterServicePingResult struct {
Success *PingResp `thrift:"success,0,optional"`
}
func NewDOMPrinterServicePingResult ¶ added in v0.0.7
func NewDOMPrinterServicePingResult() *DOMPrinterServicePingResult
func (*DOMPrinterServicePingResult) GetSuccess ¶ added in v0.0.7
func (p *DOMPrinterServicePingResult) GetSuccess() (v *PingResp)
func (*DOMPrinterServicePingResult) IsSetSuccess ¶ added in v0.0.7
func (p *DOMPrinterServicePingResult) IsSetSuccess() bool
func (*DOMPrinterServicePingResult) Read ¶ added in v0.0.7
func (p *DOMPrinterServicePingResult) Read(iprot thrift.TProtocol) (err error)
func (*DOMPrinterServicePingResult) ReadField0 ¶ added in v0.0.7
func (p *DOMPrinterServicePingResult) ReadField0(iprot thrift.TProtocol) error
func (*DOMPrinterServicePingResult) String ¶ added in v0.0.7
func (p *DOMPrinterServicePingResult) String() string
type DOMPrinterServiceProcessor ¶
type DOMPrinterServiceProcessor struct {
// contains filtered or unexported fields
}
func NewDOMPrinterServiceProcessor ¶
func NewDOMPrinterServiceProcessor(handler DOMPrinterService) *DOMPrinterServiceProcessor
func (*DOMPrinterServiceProcessor) AddToProcessorMap ¶
func (p *DOMPrinterServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*DOMPrinterServiceProcessor) GetProcessorFunction ¶
func (p *DOMPrinterServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*DOMPrinterServiceProcessor) Process ¶
func (p *DOMPrinterServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*DOMPrinterServiceProcessor) ProcessorMap ¶
func (p *DOMPrinterServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type DOMPrinterServiceSubmitPrintTaskArgs ¶
type DOMPrinterServiceSubmitPrintTaskArgs struct {
Request *SubmitPrintTaskReq `thrift:"request,1"`
}
func NewDOMPrinterServiceSubmitPrintTaskArgs ¶
func NewDOMPrinterServiceSubmitPrintTaskArgs() *DOMPrinterServiceSubmitPrintTaskArgs
func (*DOMPrinterServiceSubmitPrintTaskArgs) GetRequest ¶
func (p *DOMPrinterServiceSubmitPrintTaskArgs) GetRequest() (v *SubmitPrintTaskReq)
func (*DOMPrinterServiceSubmitPrintTaskArgs) IsSetRequest ¶
func (p *DOMPrinterServiceSubmitPrintTaskArgs) IsSetRequest() bool
func (*DOMPrinterServiceSubmitPrintTaskArgs) Read ¶
func (p *DOMPrinterServiceSubmitPrintTaskArgs) Read(iprot thrift.TProtocol) (err error)
func (*DOMPrinterServiceSubmitPrintTaskArgs) ReadField1 ¶
func (p *DOMPrinterServiceSubmitPrintTaskArgs) ReadField1(iprot thrift.TProtocol) error
func (*DOMPrinterServiceSubmitPrintTaskArgs) String ¶
func (p *DOMPrinterServiceSubmitPrintTaskArgs) String() string
type DOMPrinterServiceSubmitPrintTaskResult ¶
type DOMPrinterServiceSubmitPrintTaskResult struct {
Success *SubmitPrintTaskResp `thrift:"success,0,optional"`
}
func NewDOMPrinterServiceSubmitPrintTaskResult ¶
func NewDOMPrinterServiceSubmitPrintTaskResult() *DOMPrinterServiceSubmitPrintTaskResult
func (*DOMPrinterServiceSubmitPrintTaskResult) GetSuccess ¶
func (p *DOMPrinterServiceSubmitPrintTaskResult) GetSuccess() (v *SubmitPrintTaskResp)
func (*DOMPrinterServiceSubmitPrintTaskResult) IsSetSuccess ¶
func (p *DOMPrinterServiceSubmitPrintTaskResult) IsSetSuccess() bool
func (*DOMPrinterServiceSubmitPrintTaskResult) Read ¶
func (p *DOMPrinterServiceSubmitPrintTaskResult) Read(iprot thrift.TProtocol) (err error)
func (*DOMPrinterServiceSubmitPrintTaskResult) ReadField0 ¶
func (p *DOMPrinterServiceSubmitPrintTaskResult) ReadField0(iprot thrift.TProtocol) error
func (*DOMPrinterServiceSubmitPrintTaskResult) String ¶
func (p *DOMPrinterServiceSubmitPrintTaskResult) String() string
type DOMPrinterServiceUpdatePrintTaskArgs ¶
type DOMPrinterServiceUpdatePrintTaskArgs struct {
Request *UpdatePrintTaskReq `thrift:"request,1"`
}
func NewDOMPrinterServiceUpdatePrintTaskArgs ¶
func NewDOMPrinterServiceUpdatePrintTaskArgs() *DOMPrinterServiceUpdatePrintTaskArgs
func (*DOMPrinterServiceUpdatePrintTaskArgs) GetRequest ¶
func (p *DOMPrinterServiceUpdatePrintTaskArgs) GetRequest() (v *UpdatePrintTaskReq)
func (*DOMPrinterServiceUpdatePrintTaskArgs) IsSetRequest ¶
func (p *DOMPrinterServiceUpdatePrintTaskArgs) IsSetRequest() bool
func (*DOMPrinterServiceUpdatePrintTaskArgs) Read ¶
func (p *DOMPrinterServiceUpdatePrintTaskArgs) Read(iprot thrift.TProtocol) (err error)
func (*DOMPrinterServiceUpdatePrintTaskArgs) ReadField1 ¶
func (p *DOMPrinterServiceUpdatePrintTaskArgs) ReadField1(iprot thrift.TProtocol) error
func (*DOMPrinterServiceUpdatePrintTaskArgs) String ¶
func (p *DOMPrinterServiceUpdatePrintTaskArgs) String() string
type DOMPrinterServiceUpdatePrintTaskResult ¶
type DOMPrinterServiceUpdatePrintTaskResult struct {
Success *UpdatePrintTaskResp `thrift:"success,0,optional"`
}
func NewDOMPrinterServiceUpdatePrintTaskResult ¶
func NewDOMPrinterServiceUpdatePrintTaskResult() *DOMPrinterServiceUpdatePrintTaskResult
func (*DOMPrinterServiceUpdatePrintTaskResult) GetSuccess ¶
func (p *DOMPrinterServiceUpdatePrintTaskResult) GetSuccess() (v *UpdatePrintTaskResp)
func (*DOMPrinterServiceUpdatePrintTaskResult) IsSetSuccess ¶
func (p *DOMPrinterServiceUpdatePrintTaskResult) IsSetSuccess() bool
func (*DOMPrinterServiceUpdatePrintTaskResult) Read ¶
func (p *DOMPrinterServiceUpdatePrintTaskResult) Read(iprot thrift.TProtocol) (err error)
func (*DOMPrinterServiceUpdatePrintTaskResult) ReadField0 ¶
func (p *DOMPrinterServiceUpdatePrintTaskResult) ReadField0(iprot thrift.TProtocol) error
func (*DOMPrinterServiceUpdatePrintTaskResult) String ¶
func (p *DOMPrinterServiceUpdatePrintTaskResult) String() string
type FetchPrintTaskReq ¶
type FetchPrintTaskReq struct { TaskState TaskStateEnum `thrift:"TaskState,1" form:"TaskState" json:"TaskState" query:"TaskState"` OffsetTaskID *int64 `thrift:"OffsetTaskID,2,optional" form:"OffsetTaskID" json:"OffsetTaskID,omitempty" query:"OffsetTaskID"` LimitTaskNum *int64 `thrift:"LimitTaskNum,3,optional" form:"LimitTaskNum" json:"LimitTaskNum,omitempty" query:"LimitTaskNum"` BaseReq *BaseReq `thrift:"BaseReq,255" form:"BaseReq" json:"BaseReq" query:"BaseReq"` }
var DOMPrinterServiceFetchPrintTaskArgs_Request_DEFAULT *FetchPrintTaskReq
func NewFetchPrintTaskReq ¶
func NewFetchPrintTaskReq() *FetchPrintTaskReq
func (*FetchPrintTaskReq) GetBaseReq ¶ added in v0.0.2
func (p *FetchPrintTaskReq) GetBaseReq() (v *BaseReq)
func (*FetchPrintTaskReq) GetLimitTaskNum ¶
func (p *FetchPrintTaskReq) GetLimitTaskNum() (v int64)
func (*FetchPrintTaskReq) GetOffsetTaskID ¶
func (p *FetchPrintTaskReq) GetOffsetTaskID() (v int64)
func (*FetchPrintTaskReq) GetTaskState ¶
func (p *FetchPrintTaskReq) GetTaskState() (v TaskStateEnum)
func (*FetchPrintTaskReq) IsSetBaseReq ¶ added in v0.0.2
func (p *FetchPrintTaskReq) IsSetBaseReq() bool
func (*FetchPrintTaskReq) IsSetLimitTaskNum ¶
func (p *FetchPrintTaskReq) IsSetLimitTaskNum() bool
func (*FetchPrintTaskReq) IsSetOffsetTaskID ¶
func (p *FetchPrintTaskReq) IsSetOffsetTaskID() bool
func (*FetchPrintTaskReq) Read ¶
func (p *FetchPrintTaskReq) Read(iprot thrift.TProtocol) (err error)
func (*FetchPrintTaskReq) ReadField1 ¶
func (p *FetchPrintTaskReq) ReadField1(iprot thrift.TProtocol) error
func (*FetchPrintTaskReq) ReadField2 ¶
func (p *FetchPrintTaskReq) ReadField2(iprot thrift.TProtocol) error
func (*FetchPrintTaskReq) ReadField255 ¶ added in v0.0.2
func (p *FetchPrintTaskReq) ReadField255(iprot thrift.TProtocol) error
func (*FetchPrintTaskReq) ReadField3 ¶
func (p *FetchPrintTaskReq) ReadField3(iprot thrift.TProtocol) error
func (*FetchPrintTaskReq) String ¶
func (p *FetchPrintTaskReq) String() string
type FetchPrintTaskResp ¶
type FetchPrintTaskResp struct { PrintTaskList []*PrintTaskDTO `thrift:"PrintTaskList,1" form:"PrintTaskList" json:"PrintTaskList" query:"PrintTaskList"` BaseResp *BaseResp `thrift:"BaseResp,255" form:"BaseResp" json:"BaseResp" query:"BaseResp"` }
var DOMPrinterServiceFetchPrintTaskResult_Success_DEFAULT *FetchPrintTaskResp
func NewFetchPrintTaskResp ¶
func NewFetchPrintTaskResp() *FetchPrintTaskResp
func (*FetchPrintTaskResp) GetBaseResp ¶
func (p *FetchPrintTaskResp) GetBaseResp() (v *BaseResp)
func (*FetchPrintTaskResp) GetPrintTaskList ¶
func (p *FetchPrintTaskResp) GetPrintTaskList() (v []*PrintTaskDTO)
func (*FetchPrintTaskResp) IsSetBaseResp ¶
func (p *FetchPrintTaskResp) IsSetBaseResp() bool
func (*FetchPrintTaskResp) Read ¶
func (p *FetchPrintTaskResp) Read(iprot thrift.TProtocol) (err error)
func (*FetchPrintTaskResp) ReadField1 ¶
func (p *FetchPrintTaskResp) ReadField1(iprot thrift.TProtocol) error
func (*FetchPrintTaskResp) ReadField255 ¶ added in v0.0.2
func (p *FetchPrintTaskResp) ReadField255(iprot thrift.TProtocol) error
func (*FetchPrintTaskResp) String ¶
func (p *FetchPrintTaskResp) String() string
type PingReq ¶ added in v0.0.7
type PingReq struct { }
var DOMPrinterServicePingArgs_Request_DEFAULT *PingReq
func NewPingReq ¶ added in v0.0.7
func NewPingReq() *PingReq
type PingResp ¶ added in v0.0.7
type PingResp struct {
Message string `thrift:"Message,1" form:"Message" json:"Message" query:"Message"`
}
var DOMPrinterServicePingResult_Success_DEFAULT *PingResp
func NewPingResp ¶ added in v0.0.7
func NewPingResp() *PingResp
func (*PingResp) GetMessage ¶ added in v0.0.7
func (*PingResp) ReadField1 ¶ added in v0.0.7
type PrintTaskDTO ¶
type PrintTaskDTO struct { SubmitTime string `thrift:"SubmitTime,1" form:"SubmitTime" json:"SubmitTime" query:"SubmitTime"` UserName string `thrift:"UserName,2" form:"UserName" json:"UserName" query:"UserName"` TeamName string `thrift:"TeamName,3" form:"TeamName" json:"TeamName" query:"TeamName"` TeamID string `thrift:"TeamID,4" form:"TeamID" json:"TeamID" query:"TeamID"` Location string `thrift:"Location,5" form:"Location" json:"Location" query:"Location"` Language string `thrift:"Language,6" form:"Language" json:"Language" query:"Language"` FileName string `thrift:"FileName,7" form:"FileName" json:"FileName" query:"FileName"` SourceCode string `thrift:"SourceCode,8" form:"SourceCode" json:"SourceCode" query:"SourceCode"` PrintTaskID int64 `thrift:"PrintTaskID,9" form:"PrintTaskID" json:"PrintTaskID" query:"PrintTaskID"` TaskState TaskStateEnum `thrift:"TaskState,10" form:"TaskState" json:"TaskState" query:"TaskState"` }
var SubmitPrintTaskReq_PrintTask_DEFAULT *PrintTaskDTO
func NewPrintTaskDTO ¶
func NewPrintTaskDTO() *PrintTaskDTO
func (*PrintTaskDTO) GetFileName ¶
func (p *PrintTaskDTO) GetFileName() (v string)
func (*PrintTaskDTO) GetLanguage ¶
func (p *PrintTaskDTO) GetLanguage() (v string)
func (*PrintTaskDTO) GetLocation ¶
func (p *PrintTaskDTO) GetLocation() (v string)
func (*PrintTaskDTO) GetPrintTaskID ¶
func (p *PrintTaskDTO) GetPrintTaskID() (v int64)
func (*PrintTaskDTO) GetSourceCode ¶
func (p *PrintTaskDTO) GetSourceCode() (v string)
func (*PrintTaskDTO) GetSubmitTime ¶
func (p *PrintTaskDTO) GetSubmitTime() (v string)
func (*PrintTaskDTO) GetTaskState ¶
func (p *PrintTaskDTO) GetTaskState() (v TaskStateEnum)
func (*PrintTaskDTO) GetTeamID ¶
func (p *PrintTaskDTO) GetTeamID() (v string)
func (*PrintTaskDTO) GetTeamName ¶
func (p *PrintTaskDTO) GetTeamName() (v string)
func (*PrintTaskDTO) GetUserName ¶
func (p *PrintTaskDTO) GetUserName() (v string)
func (*PrintTaskDTO) ReadField1 ¶
func (p *PrintTaskDTO) ReadField1(iprot thrift.TProtocol) error
func (*PrintTaskDTO) ReadField10 ¶
func (p *PrintTaskDTO) ReadField10(iprot thrift.TProtocol) error
func (*PrintTaskDTO) ReadField2 ¶
func (p *PrintTaskDTO) ReadField2(iprot thrift.TProtocol) error
func (*PrintTaskDTO) ReadField3 ¶
func (p *PrintTaskDTO) ReadField3(iprot thrift.TProtocol) error
func (*PrintTaskDTO) ReadField4 ¶
func (p *PrintTaskDTO) ReadField4(iprot thrift.TProtocol) error
func (*PrintTaskDTO) ReadField5 ¶
func (p *PrintTaskDTO) ReadField5(iprot thrift.TProtocol) error
func (*PrintTaskDTO) ReadField6 ¶
func (p *PrintTaskDTO) ReadField6(iprot thrift.TProtocol) error
func (*PrintTaskDTO) ReadField7 ¶
func (p *PrintTaskDTO) ReadField7(iprot thrift.TProtocol) error
func (*PrintTaskDTO) ReadField8 ¶
func (p *PrintTaskDTO) ReadField8(iprot thrift.TProtocol) error
func (*PrintTaskDTO) ReadField9 ¶
func (p *PrintTaskDTO) ReadField9(iprot thrift.TProtocol) error
func (*PrintTaskDTO) String ¶
func (p *PrintTaskDTO) String() string
type RespCodeEnum ¶
type RespCodeEnum int64
const ( RespCodeEnum_Success RespCodeEnum = 0 RespCodeEnum_ParamInvalid RespCodeEnum = 1 RespCodeEnum_DBErr RespCodeEnum = 2 )
func RespCodeEnumFromString ¶
func RespCodeEnumFromString(s string) (RespCodeEnum, error)
func RespCodeEnumPtr ¶
func RespCodeEnumPtr(v RespCodeEnum) *RespCodeEnum
func (RespCodeEnum) MarshalText ¶
func (p RespCodeEnum) MarshalText() ([]byte, error)
func (*RespCodeEnum) Scan ¶
func (p *RespCodeEnum) Scan(value interface{}) (err error)
func (RespCodeEnum) String ¶
func (p RespCodeEnum) String() string
func (*RespCodeEnum) UnmarshalText ¶
func (p *RespCodeEnum) UnmarshalText(text []byte) error
type SubmitPrintTaskReq ¶
type SubmitPrintTaskReq struct { PrintTask *PrintTaskDTO `thrift:"PrintTask,1" form:"PrintTask" json:"PrintTask" query:"PrintTask"` BaseReq *BaseReq `thrift:"BaseReq,255" form:"BaseReq" json:"BaseReq" query:"BaseReq"` }
var DOMPrinterServiceSubmitPrintTaskArgs_Request_DEFAULT *SubmitPrintTaskReq
func NewSubmitPrintTaskReq ¶
func NewSubmitPrintTaskReq() *SubmitPrintTaskReq
func (*SubmitPrintTaskReq) GetBaseReq ¶ added in v0.0.2
func (p *SubmitPrintTaskReq) GetBaseReq() (v *BaseReq)
func (*SubmitPrintTaskReq) GetPrintTask ¶
func (p *SubmitPrintTaskReq) GetPrintTask() (v *PrintTaskDTO)
func (*SubmitPrintTaskReq) IsSetBaseReq ¶ added in v0.0.2
func (p *SubmitPrintTaskReq) IsSetBaseReq() bool
func (*SubmitPrintTaskReq) IsSetPrintTask ¶
func (p *SubmitPrintTaskReq) IsSetPrintTask() bool
func (*SubmitPrintTaskReq) Read ¶
func (p *SubmitPrintTaskReq) Read(iprot thrift.TProtocol) (err error)
func (*SubmitPrintTaskReq) ReadField1 ¶
func (p *SubmitPrintTaskReq) ReadField1(iprot thrift.TProtocol) error
func (*SubmitPrintTaskReq) ReadField255 ¶ added in v0.0.2
func (p *SubmitPrintTaskReq) ReadField255(iprot thrift.TProtocol) error
func (*SubmitPrintTaskReq) String ¶
func (p *SubmitPrintTaskReq) String() string
type SubmitPrintTaskResp ¶
type SubmitPrintTaskResp struct { PrintTaskID int64 `thrift:"PrintTaskID,1" form:"PrintTaskID" json:"PrintTaskID" query:"PrintTaskID"` TaskState TaskStateEnum `thrift:"TaskState,2" form:"TaskState" json:"TaskState" query:"TaskState"` BaseResp *BaseResp `thrift:"BaseResp,255" form:"BaseResp" json:"BaseResp" query:"BaseResp"` }
var DOMPrinterServiceSubmitPrintTaskResult_Success_DEFAULT *SubmitPrintTaskResp
func NewSubmitPrintTaskResp ¶
func NewSubmitPrintTaskResp() *SubmitPrintTaskResp
func (*SubmitPrintTaskResp) GetBaseResp ¶
func (p *SubmitPrintTaskResp) GetBaseResp() (v *BaseResp)
func (*SubmitPrintTaskResp) GetPrintTaskID ¶
func (p *SubmitPrintTaskResp) GetPrintTaskID() (v int64)
func (*SubmitPrintTaskResp) GetTaskState ¶
func (p *SubmitPrintTaskResp) GetTaskState() (v TaskStateEnum)
func (*SubmitPrintTaskResp) IsSetBaseResp ¶
func (p *SubmitPrintTaskResp) IsSetBaseResp() bool
func (*SubmitPrintTaskResp) Read ¶
func (p *SubmitPrintTaskResp) Read(iprot thrift.TProtocol) (err error)
func (*SubmitPrintTaskResp) ReadField1 ¶
func (p *SubmitPrintTaskResp) ReadField1(iprot thrift.TProtocol) error
func (*SubmitPrintTaskResp) ReadField2 ¶
func (p *SubmitPrintTaskResp) ReadField2(iprot thrift.TProtocol) error
func (*SubmitPrintTaskResp) ReadField255 ¶ added in v0.0.2
func (p *SubmitPrintTaskResp) ReadField255(iprot thrift.TProtocol) error
func (*SubmitPrintTaskResp) String ¶
func (p *SubmitPrintTaskResp) String() string
type TaskStateEnum ¶
type TaskStateEnum int64
const ( TaskStateEnum_Unknown TaskStateEnum = 0 TaskStateEnum_Submitted TaskStateEnum = 1 TaskStateEnum_Completed TaskStateEnum = 2 TaskStateEnum_Abandoned TaskStateEnum = 3 )
func TaskStateEnumFromString ¶
func TaskStateEnumFromString(s string) (TaskStateEnum, error)
func TaskStateEnumPtr ¶
func TaskStateEnumPtr(v TaskStateEnum) *TaskStateEnum
func (TaskStateEnum) MarshalText ¶
func (p TaskStateEnum) MarshalText() ([]byte, error)
func (*TaskStateEnum) Scan ¶
func (p *TaskStateEnum) Scan(value interface{}) (err error)
func (TaskStateEnum) String ¶
func (p TaskStateEnum) String() string
func (*TaskStateEnum) UnmarshalText ¶
func (p *TaskStateEnum) UnmarshalText(text []byte) error
type UpdatePrintTaskReq ¶
type UpdatePrintTaskReq struct { PrintTaskIDList []int64 `thrift:"PrintTaskIDList,1" form:"PrintTaskIDList" json:"PrintTaskIDList" query:"PrintTaskIDList"` TaskState TaskStateEnum `thrift:"TaskState,2" form:"TaskState" json:"TaskState" query:"TaskState"` BaseReq *BaseReq `thrift:"BaseReq,255" form:"BaseReq" json:"BaseReq" query:"BaseReq"` }
var DOMPrinterServiceUpdatePrintTaskArgs_Request_DEFAULT *UpdatePrintTaskReq
func NewUpdatePrintTaskReq ¶
func NewUpdatePrintTaskReq() *UpdatePrintTaskReq
func (*UpdatePrintTaskReq) GetBaseReq ¶ added in v0.0.2
func (p *UpdatePrintTaskReq) GetBaseReq() (v *BaseReq)
func (*UpdatePrintTaskReq) GetPrintTaskIDList ¶
func (p *UpdatePrintTaskReq) GetPrintTaskIDList() (v []int64)
func (*UpdatePrintTaskReq) GetTaskState ¶
func (p *UpdatePrintTaskReq) GetTaskState() (v TaskStateEnum)
func (*UpdatePrintTaskReq) IsSetBaseReq ¶ added in v0.0.2
func (p *UpdatePrintTaskReq) IsSetBaseReq() bool
func (*UpdatePrintTaskReq) Read ¶
func (p *UpdatePrintTaskReq) Read(iprot thrift.TProtocol) (err error)
func (*UpdatePrintTaskReq) ReadField1 ¶
func (p *UpdatePrintTaskReq) ReadField1(iprot thrift.TProtocol) error
func (*UpdatePrintTaskReq) ReadField2 ¶
func (p *UpdatePrintTaskReq) ReadField2(iprot thrift.TProtocol) error
func (*UpdatePrintTaskReq) ReadField255 ¶ added in v0.0.2
func (p *UpdatePrintTaskReq) ReadField255(iprot thrift.TProtocol) error
func (*UpdatePrintTaskReq) String ¶
func (p *UpdatePrintTaskReq) String() string
type UpdatePrintTaskResp ¶
type UpdatePrintTaskResp struct {
BaseResp *BaseResp `thrift:"BaseResp,255" form:"BaseResp" json:"BaseResp" query:"BaseResp"`
}
var DOMPrinterServiceUpdatePrintTaskResult_Success_DEFAULT *UpdatePrintTaskResp
func NewUpdatePrintTaskResp ¶
func NewUpdatePrintTaskResp() *UpdatePrintTaskResp
func (*UpdatePrintTaskResp) GetBaseResp ¶
func (p *UpdatePrintTaskResp) GetBaseResp() (v *BaseResp)
func (*UpdatePrintTaskResp) IsSetBaseResp ¶
func (p *UpdatePrintTaskResp) IsSetBaseResp() bool
func (*UpdatePrintTaskResp) Read ¶
func (p *UpdatePrintTaskResp) Read(iprot thrift.TProtocol) (err error)
func (*UpdatePrintTaskResp) ReadField255 ¶ added in v0.0.2
func (p *UpdatePrintTaskResp) ReadField255(iprot thrift.TProtocol) error
func (*UpdatePrintTaskResp) String ¶
func (p *UpdatePrintTaskResp) String() string
Click to show internal directories.
Click to hide internal directories.