Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TestID is used for test. TestID ID = "test" // TestComponent is used for test. TestComponent Component = "test" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component string
Caller component refers to the components within the process.
func GetComponent ¶
GetComponent returns the package path of the calling function The argument upperLayer specifies the number of stack frames to ascend. NOTE: This function is time-consuming and please do not use it in high qps scenarios.
Click to show internal directories.
Click to hide internal directories.