Documentation ¶
Overview ¶
Package protocol gathers protocol-specific stuff, which eliminate the coupling of framework and implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPHandler ¶
type HTTPHandler interface {
Handle(ctx context.HTTPContext)
}
HTTPHandler is the common handler for the all backends which handle the traffic from HTTPServer.
type MuxMapper ¶ added in v1.0.1
type MuxMapper interface {
GetHandler(name string) (HTTPHandler, bool)
}
MuxMapper gets HTTP handler pipeline with mutex
Click to show internal directories.
Click to hide internal directories.