devtoolsops

package
v1.37.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package devtoolsops contains the shared logic for toggling the lerd_devtools collector. Like the debug bridge, it is restart-free: the conf.d ini is always volume-mounted into every FPM container and active state is signalled by a sentinel file the extension stats per request, so toggling is a single filesystem touch that applies on the next PHP request without restarting any container or worker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkersResult

type WorkersResult struct {
	Workers  bool
	NoChange bool
}

WorkersResult reports the post-apply state of the worker-capture toggle.

func SetWorkers

func SetWorkers(enabled bool) (WorkersResult, error)

SetWorkers persists whether the dashboard and TUI show worker events. It is a view setting: worker capture is always on (see EnsureDevtoolsAssets), so switching it never loses what a worker did while hidden.

Jump to

Keyboard shortcuts

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