Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cpus ¶
type Cpus struct { Cores int `json:"cores"` Features cpuid.CpuFeatures `json:"features"` }
type Memory ¶
type Memory struct { Frees uint64 `json:"frees"` Heapalloc uint64 `json:"heapalloc"` Mallocs uint64 `json:"mallocs"` Alloc uint64 `json:"alloc"` Total uint64 `json:"total"` Sys uint64 `json:"sys"` App struct { Alloc uint64 `json:"allocMb"` TotalAlloc uint64 `json:"totalMb"` Sys uint64 `json:"sysMb"` } `json:"app"` }
type ServerInfoResponse ¶
type ServerInfoResponse struct { Architecture string `json:"arch"` Os string `json:"os"` Cpus Cpus `json:"cpus"` Runtime Runtime `json:"runtime"` Version Version `json:"version"` }
func (ServerInfoResponse) Bytes ¶
func (r ServerInfoResponse) Bytes(serializer common.Serializer) []byte
type ServerStatusResponse ¶
type ServerStatusResponse struct { Disk Disk `json:"disk"` Memory Memory `json:"memory"` Gc Gc `json:"gc"` }
func (*ServerStatusResponse) Reset ¶
func (r *ServerStatusResponse) Reset()
Click to show internal directories.
Click to hide internal directories.