Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HTTPHandlerFuncs map[string]func(http.ResponseWriter, *http.Request, responder.AutoResponder) = make(map[string]func(http.ResponseWriter, *http.Request, responder.AutoResponder))
HTTPHandlerFuncs global variable for http handlers
Functions ¶
This section is empty.
Types ¶
type AutoResponderHTTPHandler ¶
type AutoResponderHTTPHandler struct {
AutoResponder responder.AutoResponder
}
AutoResponderHTTPHandler handler for global http requests
func NewAutoResponderHTTPHandler ¶
func NewAutoResponderHTTPHandler(refAutoResponder responder.AutoResponder) *AutoResponderHTTPHandler
NewAutoResponderHTTPHandler Creates an http wrapper for AutoResponder
func (*AutoResponderHTTPHandler) ServeHTTP ¶
func (handler *AutoResponderHTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP HTTP Serve handler
Click to show internal directories.
Click to hide internal directories.