info

package
v0.0.0-...-0fda810 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Name      string `json:"name"`
	Version   string `json:"version"`
	Hash      string `json:"hash"`
	BuildDate string `json:"buildDate"`
}

App contains information about the running application such as name and version

func AppInfo

func AppInfo() App

AppInfo transforms application information into a struct

type Instance

type Instance struct {
	Hostname string `json:"Hostname"`
	OS       string `json:"os"`
	Arch     string `json:"arch"`
}

Instance contains information about the current instance of the running appplication

func InstanceInfo

func InstanceInfo() Instance

InstanceInfo retrieves information about the current application instance

Jump to

Keyboard shortcuts

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