Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPreFilter ¶
Types ¶
type Options ¶
type Options struct { AllowedOrigins []string AllowOriginFunc func(origin string) bool AllowOriginRequestFunc func(r *http.Request, origin string) bool AllowedMethods []string AllowedHeaders []string ExposedHeaders []string MaxAge int AllowCredentials bool AllowPrivateNetwork bool OptionsPassthrough bool OptionsSuccessStatus int Debug bool }
Click to show internal directories.
Click to hide internal directories.