options

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LocalHostPrefix = []string{"::1", "localhost", "127.0.0.1"}

Functions

func GetDefaultCert

func GetDefaultCert(listener interfaces.Listener, p string) (s [][]byte)

func LoadTLSCredentials

func LoadTLSCredentials(listener interfaces.Listener, certsPem [][]byte) (*tls.Config, error)

func ParsingIP

func ParsingIP(r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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