Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Libp2pError ¶
func TopicAlreadyExistsError ¶
func TopicNotFoundError ¶
Types ¶
type GossipSub ¶
type GossipSub struct {
// contains filtered or unexported fields
}
type GossipSubCallback ¶
type GossipSubOption ¶
func FilterSelf ¶
func FilterSelf(self peer.ID) GossipSubOption
func WithCallback ¶
func WithCallback(callback GossipSubCallback) GossipSubOption
type Host ¶
type Host struct {
// contains filtered or unexported fields
}
func (*Host) NewGossipSub ¶
func (*Host) SetDefaultRecvHandler ¶
Click to show internal directories.
Click to hide internal directories.