Versions in this module Expand all Collapse all v0 v0.1.0 Sep 19, 2019 Changes in this version + var P2P = And(Reliable, Base(ma.P_P2P)) v0.0.1 Apr 1, 2019 Changes in this version + var DNS = Or(Base(madns.P_DNSADDR), DNS4, DNS6) + var DNS4 = Base(madns.P_DNS4) + var DNS6 = Base(madns.P_DNS6) + var HTTP = Or(And(TCP, Base(ma.P_HTTP)), And(IP, Base(ma.P_HTTP)), And(DNS, Base(ma.P_HTTP))) + var HTTPS = Or(And(TCP, Base(ma.P_HTTPS)), And(IP, Base(ma.P_HTTPS)), ...) + var IP = Or(Base(ma.P_IP4), Base(ma.P_IP6)) + var IPFS = And(Reliable, Base(ma.P_IPFS)) + var QUIC = And(UDP, Base(ma.P_QUIC)) + var Reliable = Or(TCP, UTP, QUIC) + var TCP = Or(And(DNS, Base(ma.P_TCP)), And(IP, Base(ma.P_TCP))) + var UDP = Or(And(DNS, Base(ma.P_UDP)), And(IP, Base(ma.P_UDP))) + var UTP = And(UDP, Base(ma.P_UTP)) + var Unreliable = Or(UDP) + var WebRTCDirect = Or(And(HTTP, Base(ma.P_P2P_WEBRTC_DIRECT)), ...) + type Base int + func (p Base) Matches(a ma.Multiaddr) bool + func (p Base) String() string + type Pattern interface + Matches func(ma.Multiaddr) bool + String func() string + func And(ps ...Pattern) Pattern + func Or(ps ...Pattern) Pattern