Documentation
¶
Overview ¶
Package sync hosts a standalone World engine over caller-selected storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachEngine ¶
AttachEngine mounts a granted engine as a Resource service for a private host. Its caller owns the RPC context; cancel and join that context before release. Releasing the mount leaves the caller's engine usable.
Types ¶
type Engine ¶
type Engine struct {
// Bus owns all controllers, including their joined shutdown.
Bus bus.Bus
// World is the ready engine capability.
World world.Engine
// State provides convenience operations over World transactions.
State world.WorldState
// contains filtered or unexported fields
}
Engine owns one ready World and the bus that runs its storage controllers. Callers stop admitting operations before Close and must not use it afterwards.
Click to show internal directories.
Click to hide internal directories.