skip

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package skip implements the functions, types, and interfaces for the module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Composite

func Composite(skippers ...security.Skipper) security.Skipper

Composite returns a new skipper that chains multiple skippers. If any of the skippers returns true, the chain returns true.

func ID

func ID(id string) security.Skipper

func Noop

func Noop() security.Skipper

Noop creates a Skipper that never skips. This is the default behavior if no checker is provided, ensuring the middleware is always applied.

func Path

func Path(paths ...string) security.Skipper

Path creates a Skipper that skips authentication for specified operation paths. The checker returns true if the request's operation matches any of the provided skipPaths.

func Principal

func Principal(fn func(principal security.Principal) bool) security.Skipper

Types

This section is empty.

Jump to

Keyboard shortcuts

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