Documentation ¶
Index ¶
- type Goroutine
- type GoroutineManager
- func (g *GoroutineManager) Destroy()
- func (g GoroutineManager) GetGoroutineById(goroutineId uint64) *Goroutine
- func (g GoroutineManager) GoroutineCount() int
- func (g *GoroutineManager) GoroutineCreateP0(goroutineName string, goroutineFunc func(Goroutine)) uint64
- func (g *GoroutineManager) GoroutineCreateP1(goroutineName string, goroutineFunc func(Goroutine, interface{}), ...) uint64
- func (g *GoroutineManager) GoroutineCreateP2(goroutineName string, goroutineFunc func(Goroutine, interface{}, interface{}), ...) uint64
- func (g *GoroutineManager) GoroutineCreateP3(goroutineName string, ...) uint64
- func (g *GoroutineManager) GoroutineCreateP4(goroutineName string, ...) uint64
- func (g *GoroutineManager) GoroutineCreatePn(goroutineName string, goroutineFunc func(Goroutine, ...interface{}), ...) uint64
- func (g *GoroutineManager) GoroutineCreateWithCancelP0(goroutineName string, goroutineFunc func(Goroutine)) (uint64, context.CancelFunc)
- func (g *GoroutineManager) GoroutineCreateWithCancelP1(goroutineName string, goroutineFunc func(Goroutine, interface{}), ...) (uint64, context.CancelFunc)
- func (g *GoroutineManager) GoroutineCreateWithCancelP2(goroutineName string, goroutineFunc func(Goroutine, interface{}, interface{}), ...) (uint64, context.CancelFunc)
- func (g *GoroutineManager) GoroutineCreateWithCancelP3(goroutineName string, ...) (uint64, context.CancelFunc)
- func (g *GoroutineManager) GoroutineCreateWithCancelP4(goroutineName string, ...) (uint64, context.CancelFunc)
- func (g *GoroutineManager) GoroutineCreateWithCancelPn(goroutineName string, goroutineFunc func(Goroutine, ...interface{}), ...) uint64
- func (g GoroutineManager) GoroutineDump()
- func (g *GoroutineManager) GoroutineRemove(goroutine *Goroutine)
- func (g *GoroutineManager) Initialise(managerName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Goroutine ¶
type Goroutine struct {
// contains filtered or unexported fields
}
func (*Goroutine) GetCancelFunc ¶
func (g *Goroutine) GetCancelFunc() *context.CancelFunc
func (*Goroutine) GetContext ¶
type GoroutineManager ¶
type GoroutineManager struct {
// contains filtered or unexported fields
}
func (*GoroutineManager) Destroy ¶
func (g *GoroutineManager) Destroy()
func (GoroutineManager) GetGoroutineById ¶
func (g GoroutineManager) GetGoroutineById(goroutineId uint64) *Goroutine
func (GoroutineManager) GoroutineCount ¶
func (g GoroutineManager) GoroutineCount() int
func (*GoroutineManager) GoroutineCreateP0 ¶
func (g *GoroutineManager) GoroutineCreateP0(goroutineName string, goroutineFunc func(Goroutine)) uint64
func (*GoroutineManager) GoroutineCreateP1 ¶
func (g *GoroutineManager) GoroutineCreateP1(goroutineName string, goroutineFunc func(Goroutine, interface{}), argFunc1 interface{}) uint64
func (*GoroutineManager) GoroutineCreateP2 ¶
func (g *GoroutineManager) GoroutineCreateP2(goroutineName string, goroutineFunc func(Goroutine, interface{}, interface{}), argFunc1 interface{}, argFunc2 interface{}) uint64
func (*GoroutineManager) GoroutineCreateP3 ¶
func (g *GoroutineManager) GoroutineCreateP3(goroutineName string, goroutineFunc func(Goroutine, interface{}, interface{}, interface{}), argFunc1 interface{}, argFunc2 interface{}, argFunc3 interface{}) uint64
func (*GoroutineManager) GoroutineCreateP4 ¶
func (g *GoroutineManager) GoroutineCreateP4(goroutineName string, goroutineFunc func(Goroutine, interface{}, interface{}, interface{}, interface{}), argFunc1 interface{}, argFunc2 interface{}, argFunc3 interface{}, argFunc4 interface{}) uint64
func (*GoroutineManager) GoroutineCreatePn ¶
func (g *GoroutineManager) GoroutineCreatePn(goroutineName string, goroutineFunc func(Goroutine, ...interface{}), argFunc ...interface{}) uint64
func (*GoroutineManager) GoroutineCreateWithCancelP0 ¶
func (g *GoroutineManager) GoroutineCreateWithCancelP0(goroutineName string, goroutineFunc func(Goroutine)) (uint64, context.CancelFunc)
func (*GoroutineManager) GoroutineCreateWithCancelP1 ¶
func (g *GoroutineManager) GoroutineCreateWithCancelP1(goroutineName string, goroutineFunc func(Goroutine, interface{}), argFunc1 interface{}) (uint64, context.CancelFunc)
func (*GoroutineManager) GoroutineCreateWithCancelP2 ¶
func (g *GoroutineManager) GoroutineCreateWithCancelP2(goroutineName string, goroutineFunc func(Goroutine, interface{}, interface{}), argFunc1 interface{}, argFunc2 interface{}) (uint64, context.CancelFunc)
func (*GoroutineManager) GoroutineCreateWithCancelP3 ¶
func (g *GoroutineManager) GoroutineCreateWithCancelP3(goroutineName string, goroutineFunc func(Goroutine, interface{}, interface{}, interface{}), argFunc1 interface{}, argFunc2 interface{}, argFunc3 interface{}) (uint64, context.CancelFunc)
func (*GoroutineManager) GoroutineCreateWithCancelP4 ¶
func (g *GoroutineManager) GoroutineCreateWithCancelP4(goroutineName string, goroutineFunc func(Goroutine, interface{}, interface{}, interface{}, interface{}), argFunc1 interface{}, argFunc2 interface{}, argFunc3 interface{}, argFunc4 interface{}) (uint64, context.CancelFunc)
func (*GoroutineManager) GoroutineCreateWithCancelPn ¶
func (g *GoroutineManager) GoroutineCreateWithCancelPn(goroutineName string, goroutineFunc func(Goroutine, ...interface{}), argFunc ...interface{}) uint64
func (GoroutineManager) GoroutineDump ¶
func (g GoroutineManager) GoroutineDump()
func (*GoroutineManager) GoroutineRemove ¶
func (g *GoroutineManager) GoroutineRemove(goroutine *Goroutine)
func (*GoroutineManager) Initialise ¶
func (g *GoroutineManager) Initialise(managerName string)
Click to show internal directories.
Click to hide internal directories.