model

package
v0.0.1-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemRuntime

type SystemRuntime struct {
	Version     string `json:"version"`
	Goroutines  int    `json:"goroutines"`
	Cpus        int    `json:"cpus"`
	Cgo         int64  `json:"cgo"`
	HeapSize    uint64 `json:"heapAlloc"`
	Alloc       uint64 `json:"alloc"`
	Sys         uint64 `json:"sys"`
	Mallocs     uint64 `json:"mallocs"`
	Frees       uint64 `json:"frees"`
	NumGC       uint32 `json:"gc"`
	NumForcedGC uint32 `json:"forcedgc"`
}

type SystemStruct

type SystemStruct struct {
	Mode     string          `json:"mode"`
	Version  *app.AppVersion `json:"version"`
	Services int             `json:"farms"`
	Runtime  *SystemRuntime  `json:"runtime"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL