util

package
v0.0.0-...-5391c12 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTLSHTTPClient

func CreateTLSHTTPClient(certPaths []CertPaths) (*http.Client, error)

func GetEnvOrDefault

func GetEnvOrDefault(envVarName, defaultValue string) string

func MustGetEnv

func MustGetEnv(envVarName string) string

Types

type CertPaths

type CertPaths struct {
	Crt, Key, Ca string
}

Jump to

Keyboard shortcuts

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