package
module
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Oct 28, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Azugo Templ rendering
Azugo framework Templ HTML template rendering support.
Usage
app.Get("/", func(ctx *azugo.Context) {
templ.Render(ctx, index())
})
Documentation
¶
Render a component to the response.
ContentType sets the content type of the response.
type Option interface {
}
Streaming render directly to response instead of buffering.
It is recommended to use this option for large responses but can result
in partial responses being written to the client if the component errors.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.