Documentation ¶
Index ¶
- func EnsureDir(dirName string) error
- func GetBinDirPath() string
- func GetEnv(key, def string) string
- func GetEnvDur(key string, def time.Duration) (time.Duration, error)
- func GetEnvInt(key string, def int) (int, error)
- func RandInt(max int64) int64
- func WithKillSignal(ctx context.Context) (context.Context, context.CancelFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBinDirPath ¶
func GetBinDirPath() string
func WithKillSignal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.