util

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientTLSConfig

func GetClientTLSConfig(caFile, certFile, keyFile, serverName string) (*tls.Config, error)

GetClientTLSConfig returns tlsConfig based on x509 certs

func Normalize

func Normalize(s string) string

Normalize replaces underscores with hyphens we should always use hyphens instead of underscores when registering component flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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