Documentation ¶
Index ¶
- func CanDial(addr ma.Multiaddr, s *swarm.Swarm) bool
- func DecodeKey(k string) (*sym.Key, error)
- func DefaultBoostrapPeers() []peer.AddrInfo
- func LoadKey(pth string) crypto.PrivKey
- func MustParseAddr(str string) ma.Multiaddr
- func ParseBootstrapPeers(addrs []string) ([]peer.AddrInfo, error)
- func SetLogLevels(systems map[string]logging.LogLevel) error
- func SetupDefaultLoggingConfig(repoPath string)
- func TCPAddrFromMultiAddr(maddr ma.Multiaddr) (addr string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultBoostrapPeers ¶
func MustParseAddr ¶ added in v0.1.6
func SetLogLevels ¶
SetLogLevels sets levels for the given systems.
func SetupDefaultLoggingConfig ¶
func SetupDefaultLoggingConfig(repoPath string)
SetupDefaultLoggingConfig sets up a standard logging configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.