Documentation ¶
Overview ¶
Package bin contains code to extract data from a Service Weaver binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadComponentGraph ¶
ReadComponentGraph reads component graph information from the specified binary. It returns a slice of components and a component graph whose nodes are indices into that slice.
func ReadListeners ¶ added in v0.15.0
func ReadListeners(file string) ([]codegen.ComponentListeners, error)
ReadListeners reads the sets of listeners associated with each component in the specified binary.
Types ¶
type Versions ¶ added in v0.17.0
type Versions struct { ModuleVersion string // Service Weaver library's module version DeployerVersion version.SemVer // see version.DeployerVersion }
func ReadVersions ¶ added in v0.17.0
ReadVersions reads the module version and deployer API version from the specified binary.
Click to show internal directories.
Click to hide internal directories.