Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitCommit = "" BuildTime = "" GoVersion = "" Version = "" )
set on build time
View Source
var ( // DefaultTW default TW DefaultTW = goetty.NewTimeoutWheel(goetty.WithTickInterval(time.Millisecond * 100)) )
Functions ¶
func MemStats ¶
func MemStats() (*mem.VirtualMemoryStat, error)
MemStats returns the mem usage stats
func ReadJSONFromBody ¶
func ReadJSONFromBody(from io.ReadCloser, value interface{}) error
ReadJSONFromBody returns parsed json value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.