Help us shape the future of Go! Take the 2026 Go Developer Survey

primitive

package
v0.27.84 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Overview

Package primitive provides predicates that can be used as building blocks for routing behavior.

Index

Constants

View Source
const (
	// Deprecated, use predicates.FalseName instead
	NameFalse = predicates.FalseName
)
View Source
const (
	// Deprecated, use predicates.TrueName instead
	NameTrue = predicates.TrueName
)

Variables

This section is empty.

Functions

func NewFalse

func NewFalse() routing.PredicateSpec

NewFalse provides a predicate spec to create a Predicate instance that evaluates to false

func NewShutdown added in v0.13.139

func NewShutdown() routing.PredicateSpec

NewShutdown provides a predicate spec to create predicates that evaluate to true if Skipper is shutting down

func NewTrue

func NewTrue() routing.PredicateSpec

NewTrue provides a predicate spec to create a Predicate instance that evaluates to true

Types

This section is empty.

Jump to

Keyboard shortcuts

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