Skip to content

Replace usages of net.IP, net.IPNet with netip.Addr and netip.Prefix #8884

@arjan-bal

Description

@arjan-bal

Since Go 1.18, the net/netip package has provided Addr and Prefix as more performant and ergonomic replacements for the legacy net.IP and net.IPNet types. We should replace the older types within the gRPC code wherever possible.

See https://pkg.go.dev/net/netip#pkg-overview

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions