http

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(routeRegistry engine.RouteRegistry)

Append append routeRegistry

Types

type HelloMiddleWareRoute

type HelloMiddleWareRoute struct {
	Index int
}

HelloMiddleWareRoute hello middleware

func (*HelloMiddleWareRoute) MiddleWareHandle added in v1.3.5

func (s *HelloMiddleWareRoute) MiddleWareHandle(ctx engine.RequestContext, res http.ResponseWriter, req *http.Request)

MiddleWareHandle handle request

type MiddleWareHello

type MiddleWareHello struct {
	Index int
}

MiddleWareHello hello middleware

func (*MiddleWareHello) MiddleWareHandle added in v1.3.5

func (s *MiddleWareHello) MiddleWareHandle(ctx engine.RequestContext, res http.ResponseWriter, req *http.Request)

MiddleWareHandle handle request

type Test

type Test struct {
	Index int
}

Test hello middleware

func (*Test) Handle

func (s *Test) Handle(ctx engine.RequestContext, res http.ResponseWriter, req *http.Request)

Handle handle request

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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