goman

package
v0.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(f func())

New 新创建goroutine

func NewWithArgs

func NewWithArgs(f func(args ...interface{}), args ...interface{})

NewWithArgs 创建带有参数的goroutine

Types

type Instance

type Instance struct {
	Id          uint64
	CreatedTime time.Time
	File        string
	Line        int
}

func List

func List() []*Instance

List 列出所有正在运行goroutine

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL