Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroutingPool ¶
type GroutingPool struct {
// contains filtered or unexported fields
}
协程池 @author fuzeyu
func (*GroutingPool) Init ¶
func (this *GroutingPool) Init(total int, limit time.Duration) *GroutingPool
初始化 @param total 协程池总长度 @param limit 下次分发协程的间隔时间
type PrefixMutex ¶
type PrefixMutex struct {
// contains filtered or unexported fields
}
自定义线程锁 @author fuzeyu
func (*PrefixMutex) Init ¶
func (this *PrefixMutex) Init(clearSeconds int) *PrefixMutex
初始化 @param clearSeconds 锁的清理时间
Click to show internal directories.
Click to hide internal directories.