Documentation ¶
Index ¶
- func CSS(ctx web.Context, body string) error
- func CSV(ctx web.Context, body string) error
- func HTML(ctx web.Context, body string) error
- func JS(ctx web.Context, body string) error
- func JSON(ctx web.Context, object any) error
- func Text(ctx web.Context, body string) error
- func XML(ctx web.Context, body string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSON ¶
Encodes the object in JSON format and sends it with the content type set to application/json
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.