http

package
v0.15.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer added in v0.12.0

func NewServer(router router.Router) *Server

func (*Server) HandleRequest added in v0.12.0

func (h *Server) HandleRequest(
	client tcp.Client, req *http.Request, trans transport.Transport,
) (continue_ bool)

func (*Server) Run

func (h *Server) Run(
	client tcp.Client, req *http.Request, trans transport.Transport,
)

Jump to

Keyboard shortcuts

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