package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package manet provides Multiaddr (https://github.com/multiformats/go-multiaddr) specific versions of common functions in Go's standard `net` package.

# Functions

No description provided by the author
Cast re-casts a byte slice as a multiaddr.
CodeToVarint converts an integer to a varint-encoded []byte.
Contains reports whether addr is contained in addrs.
FilterAddrs is a filter that removes certain addresses, according to the given filters.
ForEach walks over the multiaddr, component by component.
Join returns a combination of addresses.
NewComponent constructs a new multiaddr component.
NewFilters constructs and returns a new set of net.IPNet filters.
NewMultiaddr parses and validates an input string, returning a *Multiaddr.
NewMultiaddrBytes initializes a Multiaddr from a byte representation.
No description provided by the author
ProtocolsWithString returns a slice of protocols matching given string.
ProtocolWithCode returns the Protocol description with given protocol code.
ProtocolWithName returns the Protocol description with given string name.
No description provided by the author
Split returns the sub-address portions of a multiaddr.
SplitFirst returns the first component and the rest of the multiaddr.
SplitFunc splits the multiaddr when the callback first returns true.
SplitLast returns the rest of the multiaddr and the last component.
StringCast like Cast, but parses a string.

# Constants

No description provided by the author
No description provided by the author
zero value.
These are special sizes.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
4 or 6.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
deprecated alias for /tls/http.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
alias for backwards compatibility.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
also for backwards compatibility.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
You **MUST** register your multicodecs with https://github.com/multiformats/multicodec before adding them here.
deprecated alias for /tls/ws.

# Variables

No description provided by the author
Protocols is the list of multiaddr protocols supported by this module.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Component is a single multiaddr Component.
Filters is a structure representing a collection of accept/deny net.IPNet filters, together with the DefaultAction flag, which represents the default filter policy.
Protocol is a Multiaddr protocol description structure.

# Interfaces

Multiaddr is a cross-protocol, cross-platform format for representing internet addresses.
No description provided by the author

# Type aliases

Action is an enum modelling all possible filter actions.