area

package
v0.0.0-...-0eb184b Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Area

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

func ParseArea

func ParseArea(dir, chromastyle string) (*Area, error)

func (*Area) GenerateSite

func (A *Area) GenerateSite(
	target string, themedir string, p areainfo.Purpose,
) error

func (*Area) GenerateWithBindings

func (A *Area) GenerateWithBindings(
	target, themedir, head, foot string,
) (map[string]sitefile.Resource, error)

func (*Area) Handler

func (A *Area) Handler(themedir string) (*Handler, error)

func (*Area) Hash

func (A *Area) Hash() (string, error)

func (*Area) Inject

func (A *Area) Inject(m map[string]sitefile.CustomPage) error

func (*Area) Title

func (A *Area) Title() (string, error)

type Handler

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

func (*Handler) Destroy

func (h *Handler) Destroy() error

func (*Handler) ServeHTTP

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

type LiveHandler

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

func CreateLiveHandler

func CreateLiveHandler(src, theme, chromastyle string) *LiveHandler

func (*LiveHandler) ServeHTTP

func (lh *LiveHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳