Help us shape the future of Go! Take the 2026 Go Developer Survey

loadedplugins

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

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

State tracks active Space plugin loads.

func (*State) GetAndWaitCh

func (s *State) GetAndWaitCh() ([]string, <-chan struct{})

GetAndWaitCh returns loaded plugin IDs and a channel closed when they change.

func (*State) Set

func (s *State) Set(ids []string)

Set replaces loaded plugin IDs and wakes watchers when the value changes.

Jump to

Keyboard shortcuts

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