README ¶ fn Using GIN in AWS Lambda package main import ( "github.com/StevenZack/fn" "github.com/gin-gonic/gin" ) func main() { gin.SetMode(gin.ReleaseMode) r := fn.Default() r.GET("/", func(c *gin.Context) { m := gin.H{} for k := range c.Request.Header { m[k] = c.GetHeader(k) } c.JSON(200, m) }) r.Run() } Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Run(serveMux http.Handler) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(serveMux http.Handler) error Types ¶ This section is empty. Source Files ¶ View all Source files engine.gorequest.goresponse.go Click to show internal directories. Click to hide internal directories.