mountedresource

package
v0.55.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(resourceCtx Context, mux srpc.Invoker, value any, releaseFn func()) (uint32, error)

Add registers a child resource mux together with its typed resource value.

Types

type Context

type Context interface {
	AddResourceValue(mux srpc.Invoker, value any, releaseFn func()) (uint32, error)
}

Context is the resource-client surface needed to register a mounted value.

Jump to

Keyboard shortcuts

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