Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppError ¶
AppError is the type of error that all handlers will return This error will be used in the ServeHTTP function
type AppHandler ¶
type AppHandler func(http.ResponseWriter, *http.Request) *AppError
AppHandler is a type that defines a standard handler with return type AppError
func (AppHandler) ServeHTTP ¶
func (fn AppHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.