web

package
v1.1.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API added in v1.1.5

type API string

type Container added in v1.1.5

type Container interface {
	bean.Bean
	ListenAndServe(port int)
}

type DefaultContainer added in v1.1.5

type DefaultContainer struct {
}

func (*DefaultContainer) Bean added in v1.1.5

func (r *DefaultContainer) Bean() string

type Filter added in v1.1.5

type Filter interface {
	bean.Bean
	Order() int
	UrlPatterns() []string
	DoFilter(w http.ResponseWriter, r *http.Request, filterChan FilterChan) error
}

type FilterChan added in v1.1.5

type FilterChan interface {
	DoFilter(w http.ResponseWriter, r *http.Request) error
}

type Html added in v1.1.5

type Html struct {
	Response string
}

func HtmlResponse added in v1.1.5

func HtmlResponse(i string) Html

func (Html) GetResponse added in v1.1.5

func (r Html) GetResponse() interface{}

type Json added in v1.1.5

type Json struct {
	Response interface{}
}

func JsonResponse added in v1.1.5

func JsonResponse(i interface{}) Json

func (Json) GetResponse added in v1.1.5

func (r Json) GetResponse() interface{}

type Response added in v1.1.5

type Response interface {
	GetResponse() interface{}
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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