Documentation ¶
Index ¶
- Constants
- func CatGoroutineID() string
- func ExternalIP() (net.IP, error)
- func FmtStack() (signature string, callerClass string, callerMethod string, ...)
- func GetSource(s interface{}) string
- func GzipStr(str string) string
- func IsHook(string2 string, line int) (flag bool)
- func LoadFunc(skip int) string
- func RangeSource(i interface{}, needHook *[]interface{})
- func RangeStructFiled(i interface{}, needHook *[]interface{})
- func RangeStructMap(i interface{}, needHook *[]interface{})
- func RangeStructSlice(i interface{}, needHook *[]interface{})
- func StringAdd(s ...string) string
- func Strval(value interface{}) string
- type Cpu
- type Disk
- type Os
- type Rrm
- type Server
- type Worker
Constants ¶
View Source
const ( B = 1 KB = 1024 * B MB = 1024 * KB GB = 1024 * MB )
Variables ¶
This section is empty.
Functions ¶
func CatGoroutineID ¶
func CatGoroutineID() string
func ExternalIP ¶
func RangeSource ¶
func RangeSource(i interface{}, needHook *[]interface{})
func RangeStructFiled ¶
func RangeStructFiled(i interface{}, needHook *[]interface{})
func RangeStructMap ¶
func RangeStructMap(i interface{}, needHook *[]interface{})
func RangeStructSlice ¶
func RangeStructSlice(i interface{}, needHook *[]interface{})
Types ¶
type Disk ¶
type Os ¶
type Rrm ¶
Click to show internal directories.
Click to hide internal directories.