Documentation ¶
Overview ¶
Package rkfibercors is a CORS middleware for fiber framework
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(opts ...rkmidcors.Option) fiber.Handler
Middleware Add cors interceptors.
Mainly copied and modified from bellow. https://github.com/labstack/echo/blob/master/middleware/cors.go
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.