Skip to content

Allow setting client name with paramater in connection string #2312

Closed
@sylr

Description

@sylr

Expected Behavior

Connection string should allow setting the client name as the C# client does (see ClientName).

Current Behavior

go-redis does not allow client name in connection string.

Possible Solution

rediss://<user>:<password>@<host>:<port>/[<db>]?[name=<client_name>]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions