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. The return value is a sequence [src,dst] edges where src and dst are fully qualified component names. E.g.,
github.com/ServiceWeaver/weaver/Main
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 version.SemVer // see version.ModuleVersion 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.