appinfo

package
v2.0.0-beta2.0...-6ef21df Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: Apache-2.0 Imports: 1 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 Server, _ = os.Hostname()

Server is the name, hostname or ip of the server as advertised in HTTP Headers By default uses the hostname reported by the kernel

View Source
var Version string

Version holds the version of the Application

Functions

func SetAppInfo

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

func SetServer

func SetServer(server string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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