one

package
v0.10.8 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type One

type One struct {
	*zero.Zero
	*fx.Fx
	// contains filtered or unexported fields
}

func NewOne

func NewOne(z *zero.Zero, f *fx.Fx) *One

func (*One) CustomHTML added in v0.10.6

func (o *One) CustomHTML(path string)

CustomHTML registers a frame from a local file. The file authors its own root container div (by convention <div class="<filename stem>">).

func (*One) Home added in v0.10.4

func (o *One) Home(logo, heading string)
func (o *One) Logo(path string) template.HTML

func (*One) Serve

func (o *One) Serve()

func (*One) Slides added in v0.10.4

func (o *One) Slides(dir string)

func (*One) Text added in v0.10.4

func (o *One) Text(path string)

Jump to

Keyboard shortcuts

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