http

package
v0.0.0-...-a85b10e Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Param2HandlerFunc

type Param2HandlerFunc func(w http.ResponseWriter, r *http.Request, param1, param2 string)

Param2HandlerFunc is a HandlerFunc that accepts two URL parameters

type ParamHandlerFunc

type ParamHandlerFunc func(w http.ResponseWriter, r *http.Request, param string)

ParamHandlerFunc is a HandlerFunc that accepts one URL parameter

type Server

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

Server is a http server

func (*Server) Route

func (s *Server) Route()

Route setups routing for this server

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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