appinfo

package
v2.0.4 Latest Latest
Warning

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

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

Documentation

Overview

Package app holds application build information

Index

Constants

This section is empty.

Variables

View Source
var BuildTime string

BuildTime is the Time that the Application was Built

View Source
var GitCommitID string

GitCommitID holds the Git Commit ID of the current binary/build

View Source
var Name string

Name is the name of the Application

View Source
var Version string

Version holds the version of the Application

Functions

func Server

func Server() string

Server returns the name, hostname or IP of the server as advertised in HTTP headers. Defaults to the kernel-reported hostname.

func Set

func Set(name, version, buildTime, gitCommitID string)

func SetServer

func SetServer(s string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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