Documentation

Overview

    Package util provides miscellaneous utility functions

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func WithMethods

    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.

      Types

      This section is empty.

      Source Files