defaults

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 28 Imported by: 3

Documentation

Index

Constants

View Source
const Name = "preset-defaults"

Variables

This section is empty.

Functions

This section is empty.

Types

type CPreset

type CPreset[MakeTypedPreset interface{}] struct {
	feature.CPreset[MakeTypedPreset]
	// contains filtered or unexported fields
}

func (*CPreset[MakeTypedPreset]) AddFormats

func (p *CPreset[MakeTypedPreset]) AddFormats(formats ...feature.PageFormat) MakeTypedPreset

func (*CPreset[MakeTypedPreset]) AddFuncmaps

func (p *CPreset[MakeTypedPreset]) AddFuncmaps(funcmaps ...feature.FuncMapProvider) MakeTypedPreset

func (*CPreset[MakeTypedPreset]) AddHtenvIgnored

func (p *CPreset[MakeTypedPreset]) AddHtenvIgnored(patterns ...string) MakeTypedPreset

func (*CPreset[MakeTypedPreset]) Make

func (p *CPreset[MakeTypedPreset]) Make() (feat Preset)

func (*CPreset[MakeTypedPreset]) Preset

func (p *CPreset[MakeTypedPreset]) Preset(b feature.Builder) (err error)

func (*CPreset[MakeTypedPreset]) SetBasicAuthTag

func (p *CPreset[MakeTypedPreset]) SetBasicAuthTag(tag feature.Tag) MakeTypedPreset

func (*CPreset[MakeTypedPreset]) SetHtenvIgnored

func (p *CPreset[MakeTypedPreset]) SetHtenvIgnored(patterns ...string) MakeTypedPreset

func (*CPreset[MakeTypedPreset]) SetHtenvTag

func (p *CPreset[MakeTypedPreset]) SetHtenvTag(tag feature.Tag) MakeTypedPreset

func (*CPreset[MakeTypedPreset]) SetListener

func (p *CPreset[MakeTypedPreset]) SetListener(l feature.ServiceListener) MakeTypedPreset

func (*CPreset[MakeTypedPreset]) SetRenderer

func (p *CPreset[MakeTypedPreset]) SetRenderer(r feature.ThemeRenderer) MakeTypedPreset

type MakePreset

type MakePreset interface {
	feature.BaseMakePreset[MakePreset]

	Make() Preset

	SetRenderer(r feature.ThemeRenderer) MakePreset
	SetListener(l feature.ServiceListener) MakePreset

	AddFormats(formats ...feature.PageFormat) MakePreset
	AddFuncmaps(funcmaps ...feature.FuncMapProvider) MakePreset

	SetBasicAuthTag(tag feature.Tag) MakePreset

	SetHtenvTag(tag feature.Tag) MakePreset
	SetHtenvIgnored(patterns ...string) MakePreset
	AddHtenvIgnored(patterns ...string) MakePreset
}

func New

func New() MakePreset

type Preset

type Preset interface {
	feature.Preset
}

Jump to

Keyboard shortcuts

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