guestlist

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const PluginID = "demo-guest-list"

PluginID identifies the demo guest list plugin for configuration toggles.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin is a tiny example plugin that contributes a node action.

func New

func New() *Plugin

New creates a fresh plugin instance.

func (*Plugin) Description

func (p *Plugin) Description() string

Description summarises the plugin's behaviour.

func (*Plugin) ID

func (p *Plugin) ID() string

ID returns the stable identifier for configuration wiring.

func (*Plugin) Initialize

func (p *Plugin) Initialize(ctx context.Context, app *components.App, registrar components.PluginRegistrar) error

Initialize registers the plugin's node-level action.

func (*Plugin) ModalPageNames added in v1.0.9

func (p *Plugin) ModalPageNames() []string

ModalPageNames returns the list of modal page names this plugin registers.

func (*Plugin) Name

func (p *Plugin) Name() string

Name returns a human-friendly plugin name.

func (*Plugin) Shutdown

func (p *Plugin) Shutdown(ctx context.Context) error

Shutdown releases resources associated with the plugin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL