Versions in this module Expand all Collapse all v0 v0.1.0 Dec 2, 2026 Changes in this version + var ErrRegistryExists = errors.New("plugin registry entry already exists") + type Launch struct + Arguments []string + Directory string + Environment []string + Executable string + StderrBytes int + type Library struct + func Bind(native *library.Library) (*Library, error) + func Default() (*Library, error) + func (l *Library) NewRegistry() (*Registry, error) + func (lib *Library) Objects() *library.Described + func (lib *Library) Open(ctx context.Context, d engine.Descriptor, o engine.Options) (*Session, error) + func (lib *Library) OpenProcess(ctx context.Context, d engine.Descriptor, launch Launch, ...) (*Session, error) + type Registry struct + func (r *Registry) Close() error + func (r *Registry) OpenProcess(ctx context.Context, d engine.Descriptor, launch Launch, ...) (*Session, error) + func (r *Registry) Register(ref engine.ContractRef, s *Session) error + func (r *Registry) Route(from engine.ContractRef, operation string, to engine.ContractRef, ...) error + func (r *Registry) Unregister(ref engine.ContractRef) error + type Session struct + func (s *Session) Abort() error + func (s *Session) AdmitReverse(frame engine.ReverseRequestFrame) (func() engine.ReverseResult, *engine.ReverseResult, error) + func (s *Session) Call(ctx context.Context, contract engine.ContractRef, operation string, ...) (json.RawMessage, error) + func (s *Session) CallProgress(ctx context.Context, contract engine.ContractRef, operation string, ...) (json.RawMessage, error) + func (s *Session) Close(ctx context.Context) error + func (s *Session) Descriptor() engine.Descriptor + func (s *Session) Done() <-chan struct{} + func (s *Session) State() engine.State + func (s *Session) Stderr() string