Documentation ¶
Overview ¶
Package bootutil provides utilities for parsing and instantiating boot services
Index ¶
- Variables
- func Dial(h host.Host, maddr ma.Multiaddr, opt ...socket.Option) (discovery.Discoverer, error)
- func DialCIDR(h host.Host, maddr ma.Multiaddr, opt ...socket.Option) (*crawl.Crawler, error)
- func DialMulticast(h host.Host, maddr ma.Multiaddr, opt ...socket.Option) (*survey.Surveyor, error)
- func DialPortRange(h host.Host, maddr ma.Multiaddr, opt ...socket.Option) (*crawl.Crawler, error)
- func DialString(h host.Host, s string, opt ...socket.Option) (discovery.Discoverer, error)
- func IsCIDR(maddr ma.Multiaddr) bool
- func IsMulticast(maddr ma.Multiaddr) bool
- func IsP2P(maddr ma.Multiaddr) bool
- func IsPortRange(maddr ma.Multiaddr) bool
- func IsSurvey(maddr ma.Multiaddr) bool
- func Listen(h host.Host, maddr ma.Multiaddr, opt ...socket.Option) (discovery.Discovery, error)
- func ListenCIDR(h host.Host, maddr ma.Multiaddr, opt ...socket.Option) (*crawl.Crawler, error)
- func ListenString(h host.Host, s string, opt ...socket.Option) (discovery.Discovery, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownBootProto = errors.New("unknown boot protocol")
ErrUnknownBootProto is returned when the multiaddr passed to Parse does not contain a recognized boot protocol.
Functions ¶
func DialMulticast ¶
func DialPortRange ¶
func DialString ¶
func IsMulticast ¶
func IsPortRange ¶
IsPortRange returns true if maddr is a UDP address with no subprotocols. This function MAY be extended to support port ranges ranges in the near future.
func ListenCIDR ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.