runtimeadapterhost

package
v0.3.28 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package runtimeadapterhost strictly loads declarative native runtime mappings contributed by TypeRB packages. It never executes package code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Binding

type Binding struct {
	Identity                 string
	Package                  string
	Mode                     string
	Dependency               string
	Module                   string
	Symbol                   string
	CallConvention           string
	MaySuspend               bool
	PropagatesExecutionScope bool
}

type Catalog

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

func Load

func Load(sources []Source) (*Catalog, error)

func (*Catalog) Bindings

func (c *Catalog) Bindings(packageName, mode string) []Binding

func (*Catalog) Lookup

func (c *Catalog) Lookup(packageName, mode, identity string) (Binding, bool)

type Source

type Source struct {
	Package      string
	Mode         string
	Path         string
	Dependencies map[string]string
}

Jump to

Keyboard shortcuts

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