nocache

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

README

Nocache

Middleware to set no cache headers.

It follows http://wiki.nginx.org/HttpProxyModule

Usage

Import

import "github.com/ngamux/middleware/nocache"

Instance

nocacheMiddleware := nocache.New()

Mount to Ngamux

mux := ngamux.New()
mux.Use(nocacheMiddleware)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() func(next http.HandlerFunc) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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