Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChanTask ¶
type ChanTask struct {
// contains filtered or unexported fields
}
func NewChanTask ¶
func (*ChanTask) IsTerminated ¶
func (*ChanTask) StatusString ¶
type ChanTaskHub ¶
type ChanTaskHub struct {
// contains filtered or unexported fields
}
var (
DefaultChanTaskHub *ChanTaskHub
)
func NewChanTaskHub ¶
func NewChanTaskHub() *ChanTaskHub
func (*ChanTaskHub) CheckGetChanTask ¶
func (*ChanTaskHub) ReleaseChanTask ¶
func (this *ChanTaskHub) ReleaseChanTask(id string) bool
false: 不存在, 或者有引用 true: 停止成功
func (*ChanTaskHub) StatusDetails ¶
func (this *ChanTaskHub) StatusDetails(all int) string
Click to show internal directories.
Click to hide internal directories.