manipulations

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package manipulations defines the interfaces all html doc manipulations must implement

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetManager

type AssetManager interface {
	WithID(id string) map[assets.Type][]assetmanager.Asset
}

type Manipulator

type Manipulator func(runtime Runtime, doc *html.Node) error

type Runtime

type Runtime struct {
	Debug  bool
	Assets AssetManager
	Config *config.Config

	HasVimeo bool
	Vimeo    vimeoapiClient
}

Jump to

Keyboard shortcuts

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