docmanager

package
v0.0.0-...-dac86b4 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

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

Plugin implements the doc-manager native plugin, providing HTTP endpoints to create and manage markdown documentation for workflows.

func New

func New(db *sql.DB) *Plugin

New creates a new doc-manager plugin. It eagerly creates the workflow_docs table so that initialization happens before the server starts handling requests (avoiding SQLITE_BUSY on lazy first-request init).

func (*Plugin) Dependencies

func (p *Plugin) Dependencies() []plugin.PluginDependency

func (*Plugin) Description

func (p *Plugin) Description() string

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) OnDisable

func (p *Plugin) OnDisable(_ plugin.PluginContext) error

func (*Plugin) OnEnable

func (p *Plugin) OnEnable(_ plugin.PluginContext) error

func (*Plugin) RegisterRoutes

func (p *Plugin) RegisterRoutes(mux *http.ServeMux)

func (*Plugin) UIPages

func (p *Plugin) UIPages() []plugin.UIPageDef

func (*Plugin) Version

func (p *Plugin) Version() string

Jump to

Keyboard shortcuts

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