package
0.0.0-20250306163500-5f3bb2705e1f
Repository: https://github.com/versoriumx/teleport.git
Documentation: pkg.go.dev
# Functions
ParseRedisAddress parses a Redis connection string and returns the parsed connection options like address and connection mode.
ParseRedisAddressWithDefaultMode parses a Redis connection string and uses the provided default mode if mode is not specified in the address.
# Constants
Cluster mode should be used when connecting to a Redis Cluster.
DefaultPort is the Redis default port.
Standalone mode should be used when connecting to a single Redis instance.
URIScheme is a Redis scheme: https://www.iana.org/assignments/uri-schemes/prov/redis Teleport always uses Redis connection over TLS.
URISchemeTLS is a Redis scheme that uses TLS for database connection: https://www.iana.org/assignments/uri-schemes/prov/rediss.
# Type aliases
Mode defines the mode in which Redis is configured.