# Packages
Package bin contains code to extract data from a Service Weaver binary.
Package codegen contains functions and types used by the weaver_gen.go files generated by "weaver generate".
Package colors contains color-related utilities.
Deployers provides useful utilities for implementing Service Weaver deployers.
Package envelope implements a sidecar-like process that connects a weavelet to its environment.
No description provided by the author
Package logging contains logging related utilities.
Package metrics implements Service Weaver metrics.
Package perfetto provides utilities for encoding trace spans in a format that can be read by the Perfetto UI.
No description provided by the author
No description provided by the author
Package protomsg contains protobuf-related utilities.
No description provided by the author
Package retry contains code to perform retries with exponential backoff.
Package tool contains utilities for creating Service Weaver tools similar to weaver-multi, weaver-gke, and weaver-gke-local.
Package perfetto contains libraries for displaying trace information in the Perfetto UI.
Package version contains the version of the weaver module and its constituent APIs (e.g., the pipe API, the codegen API).
# Functions
CheckWeaveletArgs checks that WeaveletArgs is well-formed.
DataDir returns the default directory for Service Weaver deployer data.
GetBootstrap returns information needed to configure process execution.
LogsDir returns the default directory for Service Weaver logs, $DIR/tmp/serviceweaver/logs where $DIR is the default directory used for temporary files (see [os.TempDir] for details).
NewTempDir returns a new directory, e.g., to hold Unix domain sockets for internal communication.
OnExitSignal arranges to run fn() when a signal that might cause the process to exit is delivered.
ParseConfig parses the specified configuration input, which should hold a set of sections in TOML format from the specified file.
ParseConfigSection parses the config section for key into dst.
# Constants
Main is the name of the main component.
WeaveletArgsKey is the environment variable that holds the base64 encoded protos.WeaveletArgs message for a weavelet started by an envelope.