viewrt

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS added in v0.2.6

type FS = fs.FS

type Handler added in v0.2.6

type Handler struct {
	// contains filtered or unexported fields
}

func New added in v0.2.6

func New(fsys FS, log log.Log, vm js.VM) *Handler

func (*Handler) Renderer added in v0.2.6

func (h *Handler) Renderer(route string, props interface{}) http.Handler

func (*Handler) ServeHTTP added in v0.2.6

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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