middleware

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package middleware contains utilities to handle middlewares and also common middlewares used internally by Mocha.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middlewares

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

func Compose

func Compose(handlers ...func(handler http.Handler) http.Handler) Middlewares

func (Middlewares) Root

func (m Middlewares) Root(root http.Handler) http.Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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