api

package
v0.17.60 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 9 Imported by: 176

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