Skip to content

Resolve using service tags on Consul #15

@vectorhacker

Description

@vectorhacker

It would be nice if resolving using tags in consul would be implemented. Perhaps by setting the name of the service in the same format as a consul srv record. Something like:

b := wonaming.NewResolver("v1.users")

This is nice for when you want to have multiple versions of a service and you want the clients to connect to those. It's a far nicer format that renaming the services in consul. I could make a pull request later on if you'd like this feature.

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