echo

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *config.Config) (pipeline.Filter, error)

Types

type Echo

type Echo struct {
	RepeatTimes int  `config:"repeat"    type:"number"  default_value:"1" `
	Status      int  `config:"status"    type:"status"  default_value:"200" `
	Continue    bool `config:"continue"  type:"bool"    default_value:"true" `
	Terminal    bool `config:"stdout"    type:"bool"    default_value:"false" `

	Logging      bool     `config:"logging"    type:"bool"    default_value:"false" `
	LoggingLevel string   `config:"logging_level"    type:"string"    default_value:"info" `
	Response     bool     `config:"response"    type:"bool"    default_value:"true" `
	Message      string   `config:"message"   type:"string"  default_value:"." `
	Messages     []string `config:"messages" `
	// contains filtered or unexported fields
}

func (*Echo) Filter

func (filter *Echo) Filter(ctx *fasthttp.RequestCtx)

func (*Echo) Name

func (filter *Echo) Name() string

Jump to

Keyboard shortcuts

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