caddy: Index | Files

package requestid

import ""


Package Files

requestid.go setup.go

type Handler Uses

type Handler struct {
    Next       httpserver.Handler
    HeaderName string // (optional) header from which to read an existing ID

Handler is a middleware handler

func (Handler) ServeHTTP Uses

func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error)

Package requestid imports 6 packages (graph) and is imported by 53 packages. Updated 2019-07-25. Refresh now. Tools for package owners.