http

package module
v0.0.0-...-20e5bdc Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe4

func ListenAndServe4(addr string, handler http.Handler) error

func ListenAndServe6

func ListenAndServe6(addr string, handler http.Handler) error

func ListenAndServeTLS4

func ListenAndServeTLS4(srv *http.Server, certFile, keyFile string) error

func ListenAndServeTLS6

func ListenAndServeTLS6(srv *http.Server, certFile, keyFile string) error

Types

type Server

type Server struct {
	Config *http.Server
	IPv4   bool
	IPv6   bool
}

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

func (*Server) ListenAndServeTLS

func (s *Server) ListenAndServeTLS() error

Jump to

Keyboard shortcuts

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