Versions in this module Expand all Collapse all v2 v2.9.4 Mar 2, 2021 Changes in this version + func IsRegistered(plugin Plugin) bool + func Register(plugin Plugin) error + type Handler func(http.Handler) http.Handler + type Manager interface + Plugins func() []Plugin + Register func(Plugin) 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() []Plugin Other modules containing this package github.com/Augustu/micro