Documentation
¶
Index ¶
- func MarshalNoError(v interface{}) (result []byte)
- func XgoGetCurG() unsafe.Pointer
- func XgoGetFullPCName(pc uintptr) string
- func XgoInitFinished() bool
- func XgoOnCreateG(callback func(g unsafe.Pointer, childG unsafe.Pointer))
- func XgoOnExitG(callback func())
- func XgoOnInitFinished(callback func())
- func XgoPeekPanic() (interface{}, uintptr)
- func XgoRealTimeNow() time.Time
- func XgoSetTrap(...)
- func XgoSetVarPtrTrap(trap func(info unsafe.Pointer, varAddr interface{}, res interface{}))
- func XgoSetVarTrap(trap func(info unsafe.Pointer, varAddr interface{}, res interface{}))
- func XgoSetupRegisterHandler(register func(fn unsafe.Pointer))
- type G
- type XgoFuncInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalNoError ¶
func MarshalNoError(v interface{}) (result []byte)
func XgoGetCurG ¶
func XgoGetFullPCName ¶
func XgoInitFinished ¶
func XgoInitFinished() bool
func XgoOnExitG ¶
func XgoOnExitG(callback func())
func XgoOnInitFinished ¶
func XgoOnInitFinished(callback func())
func XgoPeekPanic ¶
func XgoPeekPanic() (interface{}, uintptr)
func XgoRealTimeNow ¶
XgoRealTimeNow returns the true time.Now() this will be rewritten to time.XgoRealNow() if time.Now was rewritten
func XgoSetTrap ¶
func XgoSetVarPtrTrap ¶
func XgoSetVarTrap ¶
func XgoSetupRegisterHandler ¶ added in v1.1.1
Types ¶
type G ¶
type G struct {
// contains filtered or unexported fields
}
keep in sync with runtime.__xgo_g
func (*G) DecTrappingDepth ¶ added in v1.1.1
func (g *G) DecTrappingDepth()
func (*G) IncTrappingDepth ¶ added in v1.1.1
type XgoFuncInfo ¶ added in v1.1.1
type XgoFuncInfo struct{}
Click to show internal directories.
Click to hide internal directories.