dom

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bindings added in v0.1.6

type Bindings struct {
	*sync.RWMutex
	// contains filtered or unexported fields
}

func RouteBindings added in v0.1.6

func RouteBindings(id string, tmpl *template.Template) *Bindings

func (*Bindings) AddFile added in v0.1.6

func (b *Bindings) AddFile(rd io.Reader)

func (*Bindings) TemplateNames added in v0.1.6

func (b *Bindings) TemplateNames(eventIDWithState string) []string

type Event added in v0.1.6

type Event struct {
	Type   *string `json:"type,omitempty"`
	Target *string `json:"target,omitempty"`
	Detail any     `json:"detail,omitempty"`
	// Private fields
	ID    string          `json:"-"`
	State eventstate.Type `json:"-"`
}

Jump to

Keyboard shortcuts

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