status

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GitBranch = "development"

The branch the binary was built from

View Source
var GitCommit = "0"

Hash of the commit the binary was built on

View Source
var GitVersion string

Version tag the commit is on

Functions

func BuildInfo

func BuildInfo() string

func OSArch

func OSArch() string

func Version

func Version() string

Types

type Component

type Component struct {
}

func New

func New() *Component

New creates an instance of the status component, which provides a simple health check endpoint.

func (Component) RegisterHttpHandlers

func (c Component) RegisterHttpHandlers(publicMux *http.ServeMux, internalMux *http.ServeMux)

func (Component) Start

func (c Component) Start() error

func (Component) Stop

func (c Component) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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