util

package
v0.0.0-...-5e8f11c Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAnyString

func GetAnyString(names ...string) string

func GetEnvAny

func GetEnvAny(names ...string) string

func GetEnvAnyWithDefault

func GetEnvAnyWithDefault(defaultEnv string, names ...string) string

func NamedStringSubMatch

func NamedStringSubMatch(r *regexp.Regexp, text string) map[string]string

func NewRequest

func NewRequest(client *http.Client) *resty.Request

func SetupLogs

func SetupLogs(logFileName string)

SetupLogs adds hooks to send logs to different destinations depending on level

Types

This section is empty.

Jump to

Keyboard shortcuts

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