render

package
v0.0.0-...-4a34f05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSON

type JSON struct {
	Data any
}

func (JSON) Render

func (r JSON) Render(w http.ResponseWriter) error

type Render

type Render interface {
	Render(writer http.ResponseWriter) error
}

type Text

type Text struct {
	Format string
	Data   []any
}

func (Text) Render

func (r Text) Render(w http.ResponseWriter) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL