web

package
v0.0.0-...-b50fead Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	platform.UnimplementedModule
	// contains filtered or unexported fields
}

Module implements platform.Module, serving a PHP-based admin dashboard powered by phpscript.

func NewModule

func NewModule(root fs.FS, scriptPath string) (*Module, error)

NewModule creates the web dashboard module from the given filesystem. scriptPath is the directory holding the cron scripts, used by the live "run" terminal endpoint.

func (*Module) Mount

func (m *Module) Mount(ctx context.Context, r platform.Router) error

Mount registers HTTP routes for the dashboard.

Jump to

Keyboard shortcuts

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