Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithOSSignalCancellation ¶
ContextWithOSSignalCancellation builds a new Context that cancels itself on os.Interrupt signals.
func SystemContextKeySet ¶
func SystemContextKeySet() propagation.ContextKeySet
SystemContextKeySet returns base keys that identifies the current service.
Types ¶
type StackFrame ¶
type StackFrame struct {
// The path to the file containing this ProgramCounter
File string
// The LineNumber in that file
LineNumber int
// The Name of the function that contains this ProgramCounter
Name string
// The Package that contains this function
Package string
// The underlying ProgramCounter
ProgramCounter uintptr
}
A StackFrame contains all necessary information about to generate a line in a call stack.
func (*StackFrame) Func ¶
func (frame *StackFrame) Func() *runtime.Func
Func returns the function that contained this frame.
Click to show internal directories.
Click to hide internal directories.