api

package
v0.17.13 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 9 Imported by: 174

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