handler

package
v0.9.14 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0, Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LoadDataHandler = "LoadData"
)
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 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