filter

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: LGPL-2.1 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseFilter

type BaseFilter struct{}

func (*BaseFilter) OnPostTaskStdout

func (b *BaseFilter) OnPostTaskStdout(id string, stdout map[string]any) map[string]any

func (*BaseFilter) OnPreTaskProps

func (b *BaseFilter) OnPreTaskProps(id string, pros, headers map[string]any) (map[string]any, map[string]any)

type IFilter

type IFilter interface {
	OnPreTaskProps(id string, pros, headers map[string]any) (map[string]any, map[string]any)
	OnPostTaskStdout(id string, stdout map[string]any) map[string]any
}

func NewFilter

func NewFilter() IFilter

Jump to

Keyboard shortcuts

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