handlers

package
v0.0.0-...-ee7f901 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ctx

type Ctx struct {
	Proto      string `json:"proto"`
	StatusCode int    `json:"status"`
}

type Handler

type Handler interface {
	HandleRequest(ctx *Ctx)
	SetNext(handler Handler)
}

func SetNextReferences

func SetNextReferences(hs []Handler) Handler

Jump to

Keyboard shortcuts

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