hook

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print()

func Register

func Register(name string, creator hookCreator)

Types

type BaseHook

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

type Hook

type Hook interface {
	Name() string
	page.Hook
	static.Hook
}

type Hooks

type Hooks []Hook

func New

func New(conf config.Config, theme theme.Theme) Hooks

func (Hooks) PageHooks

func (hooks Hooks) PageHooks() (result page.Hooks)

func (Hooks) StaticHooks

func (hooks Hooks) StaticHooks() (result static.Hooks)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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