Collects and runs multiple http.Handler filters until the first one writes a response.
pipe := httppipe.New(
invalidcookiedropper.New(),
contenttypecleaner.New()
requestid.New(),
myapp.New(),
)
http.Handle("/", pipe)| Name | Name | Last commit date | ||
|---|---|---|---|---|