application

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Overview

Package application contains OS and environment utilities such as host/platform detection and basic system identity helpers.

Index

Constants

View Source
const (
	WINDOWS = "Windows"
	NIX     = "*nix"
)

Variables

This section is empty.

Functions

func HostIP

func HostIP() string

func HostName

func HostName() string

func IsRunningOnWindows

func IsRunningOnWindows() bool

func OS

func OS() string

func RunningInDockerContainer deprecated

func RunningInDockerContainer() bool

Deprecated: Use dockerHelpers.IsDockerContainer()

func SystemIdentity

func SystemIdentity() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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