Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoroutineManager ¶
type GoroutineManager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager() *GoroutineManager
func WithChecker ¶
func WithChecker(f func(int)) *GoroutineManager
func (*GoroutineManager) Cancel ¶
func (gm *GoroutineManager) Cancel()
func (*GoroutineManager) Count ¶
func (gm *GoroutineManager) Count() int
func (*GoroutineManager) Go ¶
func (gm *GoroutineManager) Go(f func(<-chan struct{}) int)
func (*GoroutineManager) RegisterCodeChecker ¶
func (gm *GoroutineManager) RegisterCodeChecker(f func(int))
func (*GoroutineManager) Wait ¶
func (gm *GoroutineManager) Wait()
Click to show internal directories.
Click to hide internal directories.