bodysize

package
v0.0.0-...-31c1c1e Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package bodysize is an echo middleware that fixes the final number of body bytes sent on the wire

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Skipper: middleware.DefaultSkipper,
}

Functions

func New

func New() echo.MiddlewareFunc

func NewWithConfig

func NewWithConfig(config Config) echo.MiddlewareFunc

New return a new bodysize middleware handler

Types

type Config

type Config struct {
	Skipper middleware.Skipper
}

Jump to

Keyboard shortcuts

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