health

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildTime 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"`
	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