api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 9 Imported by: 0

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

func PrependPlugin(p plugin.Plugin) Option

PrependPlugin prepends plugin any existing plugins

func ReplacePlugin

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