# README
go-connect
standard connector for 3rd party services. ex: redis, db, etc
# Packages
No description provided by the author
# Functions
ConfigureCircuitBreaker is used to set the default value for any method hystrix will copy this value as the setting when setting for a command is not found.
InitializeCockroachConn :nodoc:.
InitializeMySQLConn :nodoc:.
InitTraceProvider configures an OpenTelemetry exporter and trace provider.
NewElasticsearchClient :nodoc:.
NewGoRedisClusterConnectionPool uses goredis library to establish the redis cluster connection pool.
NewGoRedisConnectionPool uses goredis library to establish the redis connection pool.
NewGormCustomLogger :nodoc:.
NewHTTPConnection new http client.
NewRedigoRedisConnectionPool uses redigo library to establish the redis connection pool.
NewTransport specifies a transport that will trace HTTP and report back via OpenTracing.
NewUnaryGRPCConnection establish a new grpc connection.
RegisterHealthCheckService init health check service.
UnaryClientInterceptor wrapper with circuit breaker, retry, timeout, open telemetry, and metadata logging.
UnaryServerInterceptor wrapper with open telemetry
gocognit:ignore.
WithRoundTripper specifies the http.RoundTripper to call next after this transport.
# Variables
CockroachDB represents gorm DB.
StopTickerCh signal for closing ticker channel.
# Structs
CircuitSetting is used to tune circuit settings at runtime.
CockroachDBConnectionOptions options for the CockroachDB connection.
ElasticsearchConnectionOptions options for the Elasticsearch connection.
ESErrorLogger :nodoc:.
ESInfoLogger :nodoc:.
ESTraceLogger :nodoc:.
GormCustomLogger override gorm logger.
GRPCRateLimiter wrapper for the gRPC rate limiter.
GRPCUnaryInterceptorOptions wrapper options for the grpc connection.
HealthCheckService handler for health check rpc.
HTTPConnectionOptions options for the http connection.
MySQLConnectionOptions options for the CockroachDB connection.
RedisConnectionPoolOptions options for the redis connection.
Transport for tracing HTTP operations.
# Type aliases
Option signature for specifying options, e.g.
RecoveryHandlerFunc is a function that recovers from the panic `p` by returning an `error`.