Documentation ¶ Index ¶ Constants func Render(c echo.Context, cmp templ.Component) error func RenderStatus(c echo.Context, code int, cmp templ.Component) error type Buffer func (b *Buffer) Write(p []byte) (int, error) func (b *Buffer) WriteString(s string) (int, error) Constants ¶ View Source const MaxSize = 16 << 20 Variables ¶ This section is empty. Functions ¶ func Render ¶ func Render(c echo.Context, cmp templ.Component) error Render writes a templ component as an HTTP 200 HTML response. func RenderStatus ¶ func RenderStatus(c echo.Context, code int, cmp templ.Component) error RenderStatus writes a templ component with a specific HTTP status code. Types ¶ type Buffer ¶ type Buffer struct{ bytes.Buffer } func (*Buffer) Write ¶ func (b *Buffer) Write(p []byte) (int, error) func (*Buffer) WriteString ¶ func (b *Buffer) WriteString(s string) (int, error) Source Files ¶ View all Source files render.go Click to show internal directories. Click to hide internal directories.