support

package
v0.5.0-beta Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBinDirPath

func GetBinDirPath() string

func GetEnv

func GetEnv(key, def string) string

GetEnv from OS.

func GetEnvDur

func GetEnvDur(key string, def time.Duration) (time.Duration, error)

GetEnvDur from OS.

func GetEnvInt

func GetEnvInt(key string, def int) (int, error)

GetEnvInt from OS.

func WithKillSignal

func WithKillSignal(ctx context.Context) (context.Context, context.CancelFunc)

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