http

package
v0.0.0-...-e70b4cf Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServeTLS

func ListenAndServeTLS(addr, certFile, keyFile, caCertFile string, handler http.Handler) error

ListenAndServeTLS only supprot gmtls single cert mode. For gmtls, use NewTLSListener

func NewClient

func NewClient(config *cmtls.Config) *http.Client

func NewTLSListener

func NewTLSListener(inner net.Listener, config *cmtls.Config) net.Listener

NewTLSListener returns a listener with tls.Config, which support gmtls and tls

Types

This section is empty.

Jump to

Keyboard shortcuts

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