system

package
v0.0.0-...-b9b07eb Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const InternalEnvKey = "INTERNAL_ENVIRONMENT"

Variables

This section is empty.

Functions

func ExecIn

func ExecIn(deadline time.Duration, cmd string, args ...string) ([]byte, bool, error)

func HandleSignals

func HandleSignals()

Types

type InternalEnv

type InternalEnv byte
const (
	DevEnv InternalEnv = iota
	ProdEnv
)

func GetInternalEnv

func GetInternalEnv() (InternalEnv, bool)

func (InternalEnv) String

func (i InternalEnv) String() string

Jump to

Keyboard shortcuts

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