Documentation ¶
Index ¶
- func BoltDbHandler(dbFile string, fallback http.Handler, fetchInterval time.Duration, ...) (http.Handler, error)
- func JSONHandler(json []byte, fallback http.Handler) (http.Handler, error)
- func MapHandler(redirects map[string]string, fallback http.Handler) http.Handler
- func YAMLHandler(yaml []byte, fallback http.Handler) (http.Handler, error)
- type RedirectHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoltDbHandler ¶
Types ¶
type RedirectHandler ¶
type RedirectHandler struct {
// contains filtered or unexported fields
}
func (*RedirectHandler) ServeHTTP ¶
func (h *RedirectHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.