Documentation ¶
Index ¶
- func ErrorHandler(_ *gofr.Context) (interface{}, error)
- func HelloLogHandler(ctx *gofr.Context) (interface{}, error)
- func HelloName(ctx *gofr.Context) (interface{}, error)
- func HelloWorld(_ *gofr.Context) (interface{}, error)
- func JSONHandler(_ *gofr.Context) (interface{}, error)
- func Raw(_ *gofr.Context) (interface{}, error)
- func UserHandler(ctx *gofr.Context) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
ErrorHandler always returns an error
func HelloLogHandler ¶
func HelloName ¶
HelloName is a handler function of type gofr.Handler, it responds with a message and uses query params
func HelloWorld ¶
HelloWorld is a handler function of type gofr.Handler, it responds with a message
func JSONHandler ¶
JSONHandler is a handler function of type gofr.Handler, it responds with a JSON message
func UserHandler ¶
UserHandler is a handler function of type gofr.Handler, it responds with a JSON message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.