application

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvServerHost

func EnvServerHost() string

EnvServerHost gets JUPITER_APP_HOST.

func Hostname

func Hostname() string

Hostname gets hostname.

Types

type RuntimeStats

type RuntimeStats struct {
	IP       string `json:"ip"`
	Hostname string `json:"hostname"`
	Time     string `json:"time"` // 每次展示数据的时间
	Err      string `json:"err"`
}

通用状态信息

func NewRuntimeStats

func NewRuntimeStats() RuntimeStats

Jump to

Keyboard shortcuts

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