api

package
v0.17.45 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 9 Imported by: 151

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(cfg *config.Config, option ...Option) error

Types

type Option

type Option func(cfg *config.Config, plugins *[]plugin.Plugin)

func AddPlugin

func AddPlugin(p plugin.Plugin) Option

func NoPlugins

func NoPlugins() Option

func PrependPlugin added in v0.16.0

func PrependPlugin(p plugin.Plugin) Option

PrependPlugin prepends plugin any existing plugins

func ReplacePlugin added in v0.15.0

func ReplacePlugin(p plugin.Plugin) Option

ReplacePlugin replaces any existing plugin with a matching plugin name

Jump to

Keyboard shortcuts

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