Versions in this module Expand all Collapse all v3 v3.13.1 Sep 21, 2022 Changes in this version + func IsRegistered(plugin Plugin, opts ...PluginOption) bool + func Register(plugin Plugin, opts ...PluginOption) error + type Handler func(http.Handler) http.Handler + type Manager interface + Plugins func(...PluginOption) []Plugin + Register func(Plugin, ...PluginOption) error + func NewManager() Manager + type Option func(o *Options) + func WithCommand(cmd ...*cli.Command) Option + func WithFlag(flag ...cli.Flag) Option + func WithHandler(h ...Handler) Option + func WithInit(fn func(*cli.Context) error) Option + func WithName(n string) Option + type Options struct + Commands []*cli.Command + Flags []cli.Flag + Handlers []Handler + Init func(*cli.Context) error + Name string + type Plugin interface + Commands func() []*cli.Command + Flags func() []cli.Flag + Handler func() Handler + Init func(*cli.Context) error + String func() string + func NewPlugin(opts ...Option) Plugin + func Plugins(opts ...PluginOption) []Plugin + type PluginOption func(o *PluginOptions) + func Module(m string) PluginOption + type PluginOptions struct + Module string Other modules containing this package github.com/crazybber/micro