goman

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: BSD-3-Clause Imports: 3 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