package
0.24.6
Repository: https://github.com/serviceweaver/weaver.git
Documentation: pkg.go.dev

# Functions

AllRunners returns a slice of all builtin weavertest runners.
Fake arranges to use impl as the implementation for the component type T.

# Constants

DefaultReplication is the default number of times a component is replicated.

# Variables

Local is a Runner that places all components in the same process and uses local procedure calls for method invocations.
Multi is a Runner that places all components in different process (unless explicitly colocated) and uses RPCs for method invocations on remote components and local procedure calls for method invocations on colocated components.
RPC is a Runner that places all components in the same process and uses RPCs for method invocations.

# Structs

FakeComponent records the implementation to use for a specific component type.
Runner runs user-supplied testing code as a weaver application.