package
0.4.3
Repository: https://github.com/heroku/x.git
Documentation: pkg.go.dev

# Functions

CustomMetricsSuffix to be added to metrics recorded by the MetricsProvider instead of inferring it from $DYNO.
EnableOpenCensusTracing on the Service by registering and starting an open census agent exporter.
GRPC returns a standard GRPC server for the provided handler.
HTTP returns a standard HTTP server for the provided handler.
New Standard Service with logging, rollbar, metrics, debugging, common signal handling, and possibly more.
SkipEnforceHTTPS allows services to opt-out of SSL enforcement required for productionization.
SkipMetricsSuffix prevents the Service from suffixing the process type to metric names recorded by the MetricsProvider.
WithHTTPServerHook allows services to provide a function to adjust settings on any HTTP server before after the defaults are applied but before the server is started.
WithTLSConfig allows services to use a specific TLS configuration instead of the default one constructed from environment variables.

# Structs

Standard is a standard service.

# Type aliases

OptionFunc is a function that modifies internal service options.