cookiejar

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(cfg Config) func(http.Handler) http.Handler

Types

type Config

type Config struct {
	ShortName string
	LongName  string
	Short     []string
	Long      []string
	Logf      func(format string, args ...interface{})
	NoCookies func(r *http.Request) bool
}

Jump to

Keyboard shortcuts

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