package
module
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Sep 27, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
¶
Fume adapter for Fiber
This is a simple adapter for Fiber that allows you to deploy your application using Fume.
package main
import (
fume "github.com/fumeapp/fiber"
"github.com/gofiber/fiber/v2"
)
func main() {
app := fiber.New()
app.GET("/", func(c *fiber.Ctx) { c.Status(200).JSON(&fiber.Map{"message": "Hello World"}) })
fume.Start(app, fume.Options{})
}
Options
Option |
Description |
Default |
Port |
Port to listen on |
8000 |
Host |
Host to listen on |
localhost |
Documentation
¶
func Start(app *fiber.App, options Options)
Source Files
¶
Directories
¶
Package fiberadapter adds Fiber support for the aws-severless-go-api library.
|
Package fiberadapter adds Fiber support for the aws-severless-go-api library. |
Package core provides utility methods that help convert proxy events into an http.Request and http.ResponseWriter
|
Package core provides utility methods that help convert proxy events into an http.Request and http.ResponseWriter |
Click to show internal directories.
Click to hide internal directories.