Documentation ¶
Index ¶
Constants ¶
View Source
const ( Path = "path" Query = "query" Body = "body" Header = "header" Form = "form" Multipart = "multipart" Context = "context" Request = "request" Response = "response" Stream = "stream" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Configure ¶ added in v1.2.6
type Configure struct { types.AutoConfigure `prefix:"application.web"` Charset string `yaml:"charset"` }
type Controller ¶ added in v1.4.2
Controller web restful api controller
type Endpoint ¶ added in v1.3.7
type Endpoint interface { GetApiInfo() ApiInfo GetServiceMethod() ServiceMethod Handler(adapter ParamAdapter, handler func(result interface{}) error) }
type FeignClient ¶ added in v1.4.1
type Filter ¶ added in v1.1.5
type Filter interface { bean.Bean Order() int UrlPatterns() []string DoFilter(w http.ResponseWriter, r *http.Request, chain FilterChain) error }
type FilterChain ¶ added in v1.1.8
type FilterChain interface { GetFilter() Filter SetNext(chain FilterChain) GetNext() FilterChain DoFilter(w http.ResponseWriter, r *http.Request) error SetService(service Service) DoService() error }
type FsController ¶ added in v1.4.3
type FsController interface { Controller Compile() bool }
FsController static assets controller
type ParamAdapter ¶ added in v1.4.1
type RestMethod ¶ added in v1.4.1
type RestMethod interface {
GetType() string
}
RestMethod is restful mapping interface
Click to show internal directories.
Click to hide internal directories.