Documentation
¶
Index ¶
- func Body(body []byte, contentType string) http.HandlerFunc
- func Charset(label string, body []byte) http.HandlerFunc
- func Delay(d time.Duration, inner http.Handler) http.HandlerFunc
- func Headers(h http.Header, inner http.Handler) http.HandlerFunc
- func Redirect(location string, code int) http.HandlerFunc
- func Status(code int) http.HandlerFunc
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Status ¶
func Status(code int) http.HandlerFunc
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func MultiPageSite ¶ added in v0.2.0
func MultiPageSite() *Server
Click to show internal directories.
Click to hide internal directories.