mirror of https://github.com/gofiber/fiber.git
Add Handler comment
parent
ac64da1a3a
commit
2f4b9c4132
2
app.go
2
app.go
|
@ -31,7 +31,7 @@ const Version = "1.10.2"
|
||||||
// Map is a shortcut for map[string]interface{}, useful for JSON returns
|
// Map is a shortcut for map[string]interface{}, useful for JSON returns
|
||||||
type Map map[string]interface{}
|
type Map map[string]interface{}
|
||||||
|
|
||||||
// Handler ...
|
// Handler defines a function to serve HTTP requests.
|
||||||
type Handler = func(*Ctx)
|
type Handler = func(*Ctx)
|
||||||
|
|
||||||
// App denotes the Fiber application.
|
// App denotes the Fiber application.
|
||||||
|
|
Loading…
Reference in New Issue