middleware

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package middleware define middlewares for Actions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action func(ctx context.Context) error

Action is a function that takes a context and returns an error. It is used on Pipers, Defaulters and Publishers, although they are not aware of this generalization.

Directories

Path Synopsis
Package skip can skip an entire Action.
Package skip can skip an entire Action.

Jump to

Keyboard shortcuts

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