web_processor

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Path      = "path"
	Query     = "query"
	Body      = "body"
	Header    = "header"
	Form      = "form"
	Multipart = "multipart"
	Context   = "context"
	Request   = "request"
	Response  = "response"
	App       = "app"
)

Functions

This section is empty.

Types

type ControllerProcessor

type ControllerProcessor struct {
}

func (*ControllerProcessor) Do

func (c *ControllerProcessor) Do(bean Bean)

func (*ControllerProcessor) Filter

func (c *ControllerProcessor) Filter(bean Bean) bool

type FilterProcessor

type FilterProcessor struct {
}

func (*FilterProcessor) Do

func (f *FilterProcessor) Do(bean bean.Bean)

func (*FilterProcessor) Filter

func (f *FilterProcessor) Filter(bean bean.Bean) bool

type Param added in v1.1.8

type Param struct {
	Name   string
	Source string
	Type   reflect.Type
}

func (Param) String added in v1.1.8

func (r Param) String() string

type WebContainerProcessor

type WebContainerProcessor struct {
	Port int `value:"server.port"`
}

func (*WebContainerProcessor) Do

func (w *WebContainerProcessor) Do(bean bean.Bean)

func (*WebContainerProcessor) Filter

func (w *WebContainerProcessor) Filter(bean bean.Bean) bool

type WebHandler added in v1.1.8

type WebHandler func(httpMethod, url string, params []Param, funcType reflect.Method, funcValue reflect.Value)
var (
	Handler WebHandler
)

Jump to

Keyboard shortcuts

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