mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
16 lines
306 B
Go
16 lines
306 B
Go
package middleware
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/fenny/fiber"
|
|
)
|
|
|
|
// Helmet : Helps secure your apps by setting various HTTP headers.
|
|
func Helmet() func(*fiber.Midware) {
|
|
return func(c *fiber.Midware) {
|
|
fmt.Println("Helmet is still under development, this middleware does nothing yet.")
|
|
c.Next()
|
|
}
|
|
}
|