inertia: Index | Files

package util

import ""

Package util provides miscellaneous utility functions


Package Files

doc.go util.go

func WithMethods Uses

func WithMethods(handler http.HandlerFunc, methods ...string) http.HandlerFunc

WithMethods uses handler with only the declared methods. If no methods are provided, all methods are allowed.

Package util imports 1 packages (graph). Updated 2019-02-28. Refresh now. Tools for package owners.