Documentation
¶
Index ¶
- func ConvertBootstrap(peers []string, devMode bool) (peer.BootstrapParams, error)
- func ConvertToAddrInfo(peers []string) ([]libp2p.AddrInfo, error)
- func ConvertToMultiAddr(addr string) (*libp2p.AddrInfo, error)
- func FormatSwarmKey(key string) (pnet.PSK, error)
- func GenerateSwarmKey() (string, error)
- func GenerateSwarmKeyFromString(data string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertBootstrap ¶
func ConvertBootstrap(peers []string, devMode bool) (peer.BootstrapParams, error)
func GenerateSwarmKey ¶ added in v1.1.5
func GenerateSwarmKeyFromString ¶ added in v1.1.5
Note: This will generate a predictable key Only use if you know whjat you're doing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.