health

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildTime string
View Source
var Name string
View Source
var Version string

Functions

func GetOutboundIP

func GetOutboundIP() net.IP

func Init

func Init() health

Types

type Report

type Report struct {
	Status    string    `json:"status"`
	Name      string    `json:"name"`
	Version   string    `json:"version"`
	BuildTime string    `json:"build_time"`
	IP        net.IP    `json:"ip"`
	Since     time.Time `json:"running_since"`
	Now       time.Time `json:"now"`
}

Jump to

Keyboard shortcuts

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