http

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 12 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, renderer render.Engine, p parser.HTTPRequestsParser,
) (continue_ bool)

func (*Server) Run

func (h *Server) Run(
	client tcp.Client, req *http.Request, renderer render.Engine, p parser.HTTPRequestsParser,
)

Jump to

Keyboard shortcuts

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