Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NPMCDNHandler ¶
type NPMCDNHandler struct {
// contains filtered or unexported fields
}
func NewNPMCDNHandler ¶
func NewNPMCDNHandler(prefix string, root http.FileSystem) *NPMCDNHandler
func (*NPMCDNHandler) Handler ¶
func (h *NPMCDNHandler) Handler(c *fiber.Ctx) error
Based on https://github.com/gofiber/fiber/blob/master/middleware/filesystem/filesystem.go
Click to show internal directories.
Click to hide internal directories.