html

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ThemePath = "css/theme.css"

Variables

View Source
var HasTheme bool

Functions

This section is empty.

Types

type Alert

type Alert struct {
	Err error
}

Alert displays an error message.

func (*Alert) Render

func (r *Alert) Render(ctx context.Context, w io.Writer)

type Flash

type Flash struct{}

Flash displays the flash message, if available.

func (*Flash) Render

func (r *Flash) Render(ctx context.Context, w io.Writer)

type Pagination

type Pagination struct {
	URL    url.URL
	Offset int
	Limit  int
	N      int
}

func (*Pagination) Render

func (r *Pagination) Render(ctx context.Context, w io.Writer)

type WTFBadge

type WTFBadge struct {
	DialID           int
	DialMembershipID int

	Value int
}

func (*WTFBadge) Render

func (r *WTFBadge) Render(ctx context.Context, w io.Writer)

Jump to

Keyboard shortcuts

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