Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
Handle(req *http.HttpRequest) (*http.HttpResponse, error)
}
type HandlerTemplate ¶
type HandlerTemplate struct { Handler // contains filtered or unexported fields }
func NewHandlerTemplate ¶
func NewHandlerTemplate(h Handler) *HandlerTemplate
func (*HandlerTemplate) Process ¶
func (bh *HandlerTemplate) Process(req *http.HttpRequest) (*http.HttpResponse, error)
Click to show internal directories.
Click to hide internal directories.