Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrTypeEmptyQuery = 1 // 队列为空, broker获取任务时用到 ErrTypeUnsupportedType = 2 // 不支持此参数类型 ErrTypeOutOfRange = 3 // 暂时没用 ErrTypeNilResult = 4 // 任务结果为空 ErrTypeTimeOut = 5 // broker,backend超时 ErrTypeServerStop = 6 // 服务已停止 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrEmptyQuery ¶
type ErrEmptyQuery struct {
}
func (ErrEmptyQuery) Error ¶
func (e ErrEmptyQuery) Error() string
func (ErrEmptyQuery) Type ¶
func (e ErrEmptyQuery) Type() int
type ErrNilResult ¶
type ErrNilResult struct {
}
func (ErrNilResult) Error ¶
func (e ErrNilResult) Error() string
func (ErrNilResult) Type ¶
func (e ErrNilResult) Type() int
type ErrOutOfRange ¶
type ErrOutOfRange struct {
}
func (ErrOutOfRange) Error ¶
func (e ErrOutOfRange) Error() string
func (ErrOutOfRange) Type ¶
func (e ErrOutOfRange) Type() int
type ErrServerStop ¶ added in v2.2.0
type ErrServerStop struct {
}
func (ErrServerStop) Error ¶ added in v2.2.0
func (e ErrServerStop) Error() string
func (ErrServerStop) Type ¶ added in v2.2.0
func (e ErrServerStop) Type() int
type ErrTimeOut ¶
type ErrTimeOut struct {
}
func (ErrTimeOut) Error ¶
func (e ErrTimeOut) Error() string
func (ErrTimeOut) Type ¶
func (e ErrTimeOut) Type() int
type ErrUnsupportedType ¶
type ErrUnsupportedType struct {
T string
}
func (ErrUnsupportedType) Error ¶
func (e ErrUnsupportedType) Error() string
func (ErrUnsupportedType) Type ¶
func (e ErrUnsupportedType) Type() int
type YTaskError ¶
Click to show internal directories.
Click to hide internal directories.