Skip to content

Add netip conversions to manet #262

Description

@phillebaba

The netip package has been around for a while in stdlib and build upon the original net package. Currently there are helper functions in the manet package that convert from and to net data types and multi addresses.

https://pkg.go.dev/github.com/multiformats/go-multiaddr@v0.14.0/net#ToIP
https://pkg.go.dev/github.com/multiformats/go-multiaddr@v0.14.0/net#FromNetAddr

It would be nice to expand on these functions and add support for netip data types along side the existing functions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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