custom

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponent

func NewComponent(components ...composer.FlowComponent) composer.FlowComponent

Types

type Dummy added in v0.9.1

type Dummy struct {
	CustomHandler composer.CustomHandlerFunc
	O             int
	// contains filtered or unexported fields
}

Dummy is a duplicate of composer.Dummy, but with the addition of the Order() int method to be able to be used in the custom component chain. It can also be used as a simple dummy component in other contexts.

func (*Dummy) GetMeta added in v0.9.1

func (d *Dummy) GetMeta() []adminapi.FlowMeta

func (*Dummy) Next added in v0.9.1

func (d *Dummy) Next(next composer.FlowComponent)

func (*Dummy) Order added in v0.9.1

func (d *Dummy) Order() int

func (*Dummy) ServeHTTP added in v0.9.1

func (d *Dummy) ServeHTTP(w http.ResponseWriter, req *http.Request)

type Ordered added in v0.4.0

type Ordered interface {
	composer.FlowComponent
	Order() int
}

Jump to

Keyboard shortcuts

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