Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPubSub ¶
func NewPubSub(ctx context.Context, handlers ...TopicHandler) *memberPubSub
func NewPubSubBootstrap ¶
func NewPubSubBootstrap(ctx context.Context, handlers ...TopicHandler) *bootstrapPubSub
Types ¶
type DiscoveryHandler ¶ added in v0.3.113
type DiscoveryHandler func(warpnet.WarpAddrInfo)
type GossipNodeConnector ¶ added in v0.3.112
type TopicHandler ¶ added in v0.3.112
type TopicHandler struct {
TopicName string
Handler topicHandler
}
func NewDiscoveryTopicHandler ¶ added in v0.3.113
func NewDiscoveryTopicHandler(handler topicHandler) TopicHandler
Click to show internal directories.
Click to hide internal directories.