common

package
v0.0.0-...-ee63aef Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultWorkDirPath is the base path for all box-related directories
	DefaultWorkDirPath = "/var/gbox"
	// DefaultShareDirPath is the path for the shared directory within a box
	DefaultShareDirPath = DefaultWorkDirPath + "/share"
)

Variables

This section is empty.

Functions

func FormatDurationConcise

func FormatDurationConcise(d time.Duration) string

FormatDurationConcise provides a simpler string representation for durations.

func GetLocalIPs

func GetLocalIPs() []string

GetLocalIPs returns all local IP addresses

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