Documentation
¶
Overview ¶
Package utility provides utility implementations.
Package utility provides utility implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllIpsOfCidr ¶
func WhetherCidrContainsIp ¶
Types ¶
type CallerInfo ¶
type CallerInfo struct {
PackageName string
FileName string
FunctionName string
Line int
GoroutineID int
}
CallerInfo is a GetCallerInfo that has caller information.
func GetCallerInfo ¶
func GetCallerInfo(numberOfStackFramesToAscend int) (CallerInfo, error)
GetCallerInfo is get the caller information.
ex) callerInfo, err := utility.GetCallerInfo()
Click to show internal directories.
Click to hide internal directories.