bin

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

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

func ReadComponentGraph(file string) ([][2]string, error)

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

func ReadVersions(filename string) (Versions, error)

ReadVersions reads the module version and deployer API version from the specified binary.

Directories

Path Synopsis
testprogram is used by bin tests.
testprogram is used by bin tests.

Jump to

Keyboard shortcuts

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