Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurGoroutineID ¶
func CurGoroutineID() uint64
CurGoroutineID get current goroutine id by walk stack. from https://github.com/golang/net/blob/master/http2/gotrack.go This func get goroutine id by parse current stack string, the performance is not so good. asm version, https://github.com/petermattis/goid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.