package
0.0.0-20201029031353-9742f5acb6e0
Repository: https://github.com/cachecashproject/go-cachecash.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GRPCDial creates a client connection to the given target.
IsErrConnRefused returns true iff the error is a network error corresponding to ECONNREFUSED being returned from a syscall like listen(2).
IsNetErrClosing returns true iff err is net.errClosing: "use of closed network connection".
IsWebSocketClose returns true iff err is indicates that a WebSocket connection has been closed with one of the indicated status codes.
No description provided by the author
No description provided by the author
Main provides a convenient thunk to allow writing a CLI with more idiomatic go - returning error rather than calling os.Exit.
No description provided by the author
New GRPCServer makes a DB enabled GRPC server preconfigured with tracing and monitoring middleware.
NewGRPCServer makes a stateless GRPC server preconfigured with tracing and monitoring middleware.
NewMetricsPusher creates a new MetricsPusher.
No description provided by the author
SetupTracing configures OpenCensus to export to Jaeger.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
Flushable is a wrapper for jaeger.Exporter to permit clean code in callers while permitting tracing to be disabled.
MetricsPusher sends metrics to the CacheCash central metrics store.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author