Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMDNS ¶
func InitMDNS(ctx context.Context, peerhost host.Host, rendezvous string) (chan libp2ppeer.AddrInfo, error)
Initialize the MDNS service
func SafeKeyGen ¶
Types ¶
type Config ¶
type Config struct { RendezvousString string ProtocolID string KeyFile string PeerstoreFile string RenameWithPort bool ListenHost string ListenPort int ResetKeys bool RedisDb string RedisDelete bool RedisChannelPyGo string RedisChannelGoPy string RunTests bool ShowHelp bool }
func ParseFlags ¶
func ParseFlags() *Config
Click to show internal directories.
Click to hide internal directories.