From 351b2d87a631bbd9422fb31ac8b10850463f9ade Mon Sep 17 00:00:00 2001 From: Erwan Leboucher Date: Thu, 24 Feb 2022 16:06:27 +0100 Subject: [PATCH] update godoc about support redis protocols --- asynq.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asynq.go b/asynq.go index 7f5a630..cda9a23 100644 --- a/asynq.go +++ b/asynq.go @@ -420,9 +420,10 @@ func (opt RedisClusterClientOpt) MakeRedisClient() interface{} { // ParseRedisURI parses redis uri string and returns RedisConnOpt if uri is valid. // It returns a non-nil error if uri cannot be parsed. // -// Three URI schemes are supported, which are redis:, redis-socket:, and redis-sentinel:. +// Three URI schemes are supported, which are redis:, rediss:, redis-socket:, and redis-sentinel:. // Supported formats are: // redis://[:password@]host[:port][/dbnumber] +// rediss://[:password@]host[:port][/dbnumber] // redis-socket://[:password@]path[?db=dbnumber] // redis-sentinel://[:password@]host1[:port][,host2:[:port]][,hostN:[:port]][?master=masterName] func ParseRedisURI(uri string) (RedisConnOpt, error) {