meta

package
v0.0.0-...-ffad6be Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Hostname   string        `json:"hostname"`
	AppName    string        `json:"app_name"`
	AppVersion string        `json:"app_version"`
	Env        string        `json:"env"`
	Uptime     time.Duration `json:"uptime"`
}

func Discover

func Discover(appName, appVersion, env string) *Metadata

Jump to

Keyboard shortcuts

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