api

package
v0.0.0-...-978d3d9 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AssetsDir string

Functions

func Hostname

func Hostname() string

Types

type RuntimeEnv

type RuntimeEnv struct {
	Timestamp        time.Time
	TimeZone         string
	GoVersion        string
	Hostname         string
	OperatingSystem  string
	Arch             string
	VirtualMemory    *mem.VirtualMemoryStat
	ProcessorPercent []float64
	Interfaces       []net.InterfaceStat
}

func NewRuntimeEnv

func NewRuntimeEnv() *RuntimeEnv

type UIHandler

type UIHandler struct{}

func (*UIHandler) ServeHTTP

func (ui *UIHandler) ServeHTTP(res http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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