package
0.0.0-20190918193452-3ce1eab57797
Repository: https://github.com/cloudfoundry/loggregator.git
Documentation: pkg.go.dev
# Functions
LoadConfig reads from the environment to create a Config.
NewRouter creates a new Router with the given options.
WithMetricReporting returns a RouterOption that enables Router to emit metrics about itself.
WithPersistence turns on recent log storage.
# Structs
Addrs stores listener addresses of the router process.
Agent stores the configuration for connecting to the Agent over gRPC.
Config stores all configurations options for the Router.
GRPC stores the configuration for the router as a server using a PORT with mTLS certs and as a client also using mTSL certs for emitting metrics.
Router routes envelopes from producers to any subscribers.
# Type aliases
RouterOption is used to configure a new Router.