Documentation ¶
Index ¶
- Constants
- type Round
- func (r *Round) DelStep(step *Step)
- func (r *Round) Destroy()
- func (r *Round) GetCurrStatus() uint32
- func (r *Round) GetCurrStep() *Step
- func (r *Round) InsertStep(prevStep *Step, step *Step)
- func (r *Round) PushBack(step *Step)
- func (r *Round) PushFront(step *Step)
- func (r *Round) Range(f func(step *Step))
- func (r *Round) Reset()
- func (r *Round) Run()
- type Step
- type StepFunc
Constants ¶
View Source
const ( STEP_DONE uint32 = 999999 //step完成 ROUND_DONE uint32 = 1000000 //round完成 ROUND_START uint32 = 1000001 //round开始 )
View Source
const (
UNKNOWN_STATUS = 0 //未知状态
)
View Source
const (
UNLIMIT int = 0 //无限制
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Round ¶
type Round struct {
// contains filtered or unexported fields
}
func (*Round) GetCurrStatus ¶
func (*Round) GetCurrStep ¶
func (*Round) InsertStep ¶
Click to show internal directories.
Click to hide internal directories.