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 Endpoint ¶ added in v1.3.7
type Endpoint interface { GetApiInfo() ApiInfo GetServiceMethod() ServiceMethod Handler(mapper ParamMapper, handler func(result interface{}) error) }
type Filter ¶ added in v1.1.5
type Filter interface { bean.Bean Order() int UrlPatterns() Patterns 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(w http.ResponseWriter, r *http.Request) error }
type ParamMapper ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.