kmgDebug

package
v0.0.0-...-05317bf Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllStack

func GetAllStack() []byte

func NextIntIdString

func NextIntIdString() string

func Println

func Println(objList ...interface{})

提供一个漂亮的调试显示接口 TODO 根据不同类型使用不同的显示方法

func Sprintln

func Sprintln(objList ...interface{}) string

Types

type RWMutex

type RWMutex struct {
	Name string
	// contains filtered or unexported fields
}

func (*RWMutex) Lock

func (rw *RWMutex) Lock()

func (*RWMutex) RLock

func (rw *RWMutex) RLock()

func (*RWMutex) RUnlock

func (rw *RWMutex) RUnlock()

func (*RWMutex) Unlock

func (rw *RWMutex) Unlock()

type Stack

type Stack []StackFuncCall

func GetCurrentStack

func GetCurrentStack(skip int) (stack *Stack)

func (*Stack) ToString

func (s *Stack) ToString() (output string)

type StackFuncCall

type StackFuncCall struct {
	File     string
	Line     int
	Pc       uintptr
	FuncName string
}

type UselessRWMutex

type UselessRWMutex struct{}

func (UselessRWMutex) Lock

func (rw UselessRWMutex) Lock()

func (UselessRWMutex) RLock

func (rw UselessRWMutex) RLock()

func (UselessRWMutex) RUnlock

func (rw UselessRWMutex) RUnlock()

func (UselessRWMutex) Unlock

func (rw UselessRWMutex) Unlock()

Jump to

Keyboard shortcuts

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