Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MIF ¶
type MIF interface { Simple(next SimpleFunc) http.HandlerFunc Wrap(next WrapFunc) http.HandlerFunc WrapJSON(next WrapJSONFunc) http.HandlerFunc }
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func SetDisablePanic ¶
func SetDisablePanic() Option
func WithJSONConfig ¶
func WithJSONConfig(cfg JSONConfig) Option
func WithLogger ¶
func WithNoopLogger ¶
func WithNoopLogger() Option
func WithStdLogger ¶
type SimpleFunc ¶
type SimpleFunc func(w http.ResponseWriter, r *http.Request) error
Click to show internal directories.
Click to hide internal directories.