Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(w http.ResponseWriter, status int)
Error is a shorthand for writing standard error messages to the response writer
func WithOptions ¶
func WithOptions(h http.HandlerFunc, options HandlerOptions) http.Handler
Types ¶
type AuthenticationOptions ¶
type CorsOptions ¶
type HandlerOptions ¶
type HandlerOptions struct { Methods []string Cors CorsOptions Authentication AuthenticationOptions }
Click to show internal directories.
Click to hide internal directories.