handler

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: Apache-2.0, Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	LoadDataHandler = "LoadData"
)
View Source
const (
	LoadDelimitedDataHandler = "LoadDelimitedData"
)
View Source
const (
	ProxyHandler = "Proxy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadData

type LoadData struct {
	*handler.Options
	// contains filtered or unexported fields
}

func (*LoadData) Exec

func (l *LoadData) Exec(ctx context.Context, session handler.Session) (interface{}, error)

Exec executes handler

type LoadDataProvider

type LoadDataProvider struct{}

func (*LoadDataProvider) New

type LoadDelimitedData added in v0.14.2

type LoadDelimitedData struct {
	*handler.Options
	// contains filtered or unexported fields
}

func (*LoadDelimitedData) Exec added in v0.14.2

func (l *LoadDelimitedData) Exec(ctx context.Context, session handler.Session) (interface{}, error)

Exec executes handler

type LoadDelimitedDataProvider added in v0.14.2

type LoadDelimitedDataProvider struct{}

func (*LoadDelimitedDataProvider) New added in v0.14.2

type LoadSource

type LoadSource struct {
	URL string
}

type Proxy added in v0.9.12

type Proxy struct {
	// contains filtered or unexported fields
}

Proxy represents redirecting handler

func (*Proxy) Exec added in v0.9.12

func (p *Proxy) Exec(ctx context.Context, session handler.Session) (interface{}, error)

Exec executes handler

type ProxyProvider added in v0.9.12

type ProxyProvider struct{}

ProxyProvider represents Proxy handler

func (*ProxyProvider) New added in v0.9.12

func (p *ProxyProvider) New(ctx context.Context, opts ...handler.Option) (handler.Handler, error)

Jump to

Keyboard shortcuts

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