Revision a617c52f57f20956f8ecd7cca3b4cb36e68bb67e authored by Jorropo on 22 November 2023, 05:04:24 UTC, committed by Jorropo on 22 November 2023, 05:06:15 UTC
See https://github.com/libp2p/go-libp2p/pull/2650.
1 parent 6a51849
Raw File
discovery.go
package config

type Discovery struct {
	MDNS MDNS
}

type MDNS struct {
	Enabled bool

	// DEPRECATED: the time between discovery rounds is no longer configurable
	// See: https://github.com/ipfs/go-ipfs/pull/9048#discussion_r906814717
	Interval *OptionalInteger `json:",omitempty"`
}
back to top