utils

package
v2.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(format string, v ...interface{})

func GenerateCertificate

func GenerateCertificate(keyFile string, certFile string) error

func GetEnv

func GetEnv(name string) (string, error)

func GetEnvironmentVarOrPlain

func GetEnvironmentVarOrPlain(value string) string

func GetRootDir

func GetRootDir() (string, error)

GetRootDir returns the full path of the directory in which the process is running.

func InitDebug

func InitDebug()

func PathExists

func PathExists(name string) bool

PathExists checks if a (full) path exists on the host/container.

func PrnLogResponse

func PrnLogResponse(body io.ReadCloser) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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