Documentation ¶
Overview ¶
Package options 提供了初始化路由的参数对象
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CORS ¶
type CORS struct { Origins []string AllowHeaders []string ExposedHeaders []string MaxAge int AllowCredentials bool // contains filtered or unexported fields }
func AllowedCORS ¶
func AllowedCORS() *CORS
Click to show internal directories.
Click to hide internal directories.