sample

package
v0.0.0-...-a101f2f Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSampleFilter

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

Types

type SampleFilter

type SampleFilter struct {
	Ratio float32 `config:"ratio"`
	// contains filtered or unexported fields
}

func (*SampleFilter) Filter

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

func (*SampleFilter) Name

func (filter *SampleFilter) Name() string

Jump to

Keyboard shortcuts

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