dubboproxy

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Kind is the kind of plugin.
	Kind = constant.HTTPDirectDubboProxyFilter
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct{}

Config http to dubbo with direct generic call config

type Filter

type Filter struct{}

Filter http to dubbo with direct generic call

func (*Filter) Decode

Decode handle http request to dubbo direct generic call and return http response

type FilterFactory

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

FilterFactory is http to dubbo with direct generic call filter instance

func (*FilterFactory) Apply

func (factory *FilterFactory) Apply() error

Apply init filter factory, now is empty

func (*FilterFactory) Config

func (factory *FilterFactory) Config() interface{}

Config return filter facotry config, now is empty

func (*FilterFactory) PrepareFilterChain

func (factory *FilterFactory) PrepareFilterChain(ctx *pixiuHttp.HttpContext, chain filter.FilterChain) error

PrepareFilterChain prepare filter chain

type Plugin

type Plugin struct{}

Plugin is http to dubbo with direct generic call filter plugin.

func (*Plugin) CreateFilterFactory

func (p *Plugin) CreateFilterFactory() (filter.HttpFilterFactory, error)

CreateFilterFactory create filter factory instance

func (*Plugin) Kind

func (p *Plugin) Kind() string

Kind return plugin kind

Jump to

Keyboard shortcuts

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