Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExamplePlugin ¶
type ExamplePlugin struct{}
ExamplePlugin demonstrates the RapidGo plugin interface. It implements Plugin, RouteRegistrar, and CommandRegistrar.
func (*ExamplePlugin) Boot ¶
func (p *ExamplePlugin) Boot(c *container.Container)
Boot runs after all providers and plugins have been registered.
func (*ExamplePlugin) Commands ¶
func (p *ExamplePlugin) Commands() []*cobra.Command
Commands returns CLI commands provided by the plugin.
func (*ExamplePlugin) Name ¶
func (p *ExamplePlugin) Name() string
Name returns the plugin's unique identifier.
func (*ExamplePlugin) Register ¶
func (p *ExamplePlugin) Register(c *container.Container)
Register binds plugin services into the container.
func (*ExamplePlugin) RegisterRoutes ¶
func (p *ExamplePlugin) RegisterRoutes(r *router.Router)
RegisterRoutes adds plugin routes to the router.
Click to show internal directories.
Click to hide internal directories.