sample

package
v1.29.8 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 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