statelessx

package
v1.0.0-beta.228 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolFn

func BoolFn(fn func() bool) func(context.Context, ...any) bool

func Not

func Not(fn func() bool) func() bool

func WithParameters

func WithParameters[T models.Validator](fn func(context.Context, T) error) func(context.Context, ...any) error

Types

type ActionFn

type ActionFn func(context.Context) error

func AllOf

func AllOf(fn ...ActionFn) ActionFn

allOf chains multiple action functions into a single action function, all functions will be called, regardless of their error state. The reported errors will be joined into a single error object.

Jump to

Keyboard shortcuts

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