-
Notifications
You must be signed in to change notification settings - Fork 142
Client Support IPv6 address #275
Copy link
Copy link
Open
Description
The current New function supports taking an IPv4 address, but not an IPv6 address for initialization i.e.
func TestIPv6(t *testing.T) {
// passes
_, err := statsd.New("127.0.0.1")
assert.NoError(t, err)
// fails
_, err = statsd.New("::1")
assert.NoError(t, err)
}It would be really nice if the New function would support IPv6 addresses in the same way to make service migrations to IPv6 not require code changes : )
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels