traefikoutboundlimiter

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MIT Imports: 9 Imported by: 0

README

TraefikOutboundLimiter

Traefik middleware that limits the amount of data that passes through from the internal modules back out to the requesting clients.

Documentation

Overview

Package plugin_rewritebody a plugin to rewrite response body.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(_ context.Context, next http.Handler, config *Config, name string) (http.Handler, error)

New creates and returns a new rewrite body plugin instance.

Types

type Config

type Config struct {
	LastModified              bool   `json:"lastModified,omitempty"`
	ResetingIncrementerApiUrl string `json:"resetingIncrementerApiUrl,omitempty"`
}

Config holds the plugin configuration.

func CreateConfig

func CreateConfig() *Config

CreateConfig creates and initializes the plugin configuration.

Jump to

Keyboard shortcuts

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