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

# Functions

DashboardCommand returns a "dashboard" subcommand that serves a dashboard with information about the active applications.
MetricsCommand returns a "metrics" subcommand that pretty prints the metrics of all active applications registered with the provided registry.
NewClient returns a client to the status server on the provided address.
NewRegistry returns a registry that persists data to the provided directory.
ProfileCommand returns a "profile" subcommand that gathers pprof profiles.
RegisterServer registers a Server's methods with the provided mux under the /debug/serviceweaver/ prefix.
StatusCommand returns a "status" subcommand that pretty prints the status of all active applications registered with the provided registry.

# Variables

No description provided by the author

# Structs

Client is an HTTP client to a status server.
A Command is a labeled terminal command that a user can run.
Component describes a Service Weaver component.
DashboardSpec configures the command returned by DashboardCommand.
Listener describes a Service Weaver listener.
Method describes a Component method.
MethodStats summarizes a method's metrics.
Metrics is a snapshot of a deployment's metrics.
A Registration contains basic metadata about a Service Weaver application.
A Registry is a persistent collection of Service Weaver application metadata.
Replica stores info related to replica.
Status describes the status of a Service Weaver application deployment.

# Interfaces

A Server returns information about a Service Weaver deployment.