security

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const InsecureHTTPSScheme = "https+insecure"

Variables

This section is empty.

Functions

func CreateHTTPClient

func CreateHTTPClient(serviceURL string) (string, *http.Client, *tls.Config, error)

func GenerateCertificate

func GenerateCertificate(rsaBits int, hosts []string, validFrom time.Time, validFor time.Duration, destDir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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