https

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleHTTPRequest

func HandleHTTPRequest(host string)

HandleHTTPRequest handle http request

func HandleHTTPRequests

func HandleHTTPRequests(host, port string)

HandleHTTPRequests handles requests over http

func New

func New(mux http.Handler, serverAddress string, skipVerify bool) *http.Server

func NewWithContext added in v0.0.9

func NewWithContext(ctx context.Context, mux http.Handler, serverAddress string, skipVerify bool) *http.Server

func NewWithCustCA

func NewWithCustCA(mux http.Handler, serverAddress string, clientCAPath string, serverCert ServerCert) *http.Server

Types

type ServerCert

type ServerCert struct {
	Certificate string
	Key         string
}

Jump to

Keyboard shortcuts

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