buildinfo

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	Version   string `json:"version,omitempty"`
	BuildTime string `json:"build_time,omitempty"`
	Revision  string `json:"revision,omitempty"`
	Branch    string `json:"branch,omitempty"`
}

BuildInfo contains information about the build.

func (*BuildInfo) BuildInfo

func (bi *BuildInfo) BuildInfo(w http.ResponseWriter, r *http.Request)

BuildInfo represents the build-info end-point of sokar

func (*BuildInfo) Print

func (bi *BuildInfo) Print(printFun func(format string, a ...interface{}) (n int, err error))

Print prints the build information using the given print function

Jump to

Keyboard shortcuts

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