pyradebug

package module
v0.0.0-...-cead4a4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2016 License: BSD-3-Clause Imports: 5 Imported by: 0

README

pyradebug

to detect memory leaks. it is helpfull to name goroutines

go get -u github.com/CossackPyra/pyradebug

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGoroutineId

func GetGoroutineId() string

Types

type GoroutineInfo

type GoroutineInfo struct {
	Id     string
	Name   string
	Status string
	// contains filtered or unexported fields
}

type PyraDebug

type PyraDebug struct {
	Enable bool
	Debug  bool
	// contains filtered or unexported fields
}

func InitPyraDebug

func InitPyraDebug() *PyraDebug

func (*PyraDebug) GiveNames

func (pd *PyraDebug) GiveNames(a1 []*GoroutineInfo, clean bool)

func (*PyraDebug) ListGoroutines

func (pd *PyraDebug) ListGoroutines(bufferSize int, clean bool) (result []*GoroutineInfo)

func (*PyraDebug) SetGoroutineName

func (pd *PyraDebug) SetGoroutineName(name string)

Jump to

Keyboard shortcuts

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