custom

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

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