Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoGossipErr = errors.New("Must start gossip-sub first. Try 'gossip start'")
Functions ¶
This section is empty.
Types ¶
type GossipBlacklistCmd ¶
type GossipBlacklistCmd struct {
*base.Base
*GossipState
PeerID flags.PeerIDFlag `ask:"<peer-id>" help:"The peer to blacklist"`
}
func (*GossipBlacklistCmd) Help ¶
func (c *GossipBlacklistCmd) Help() string
type GossipCmd ¶
type GossipCmd struct {
*base.Base
*GossipState
}
type GossipEventsCmd ¶
type GossipEventsCmd struct {
*base.Base
*GossipState
TopicName string `ask:"<topic>" help:"The name of the topic to track events of"`
}
func (*GossipEventsCmd) Help ¶
func (c *GossipEventsCmd) Help() string
type GossipJoinCmd ¶
type GossipJoinCmd struct {
*base.Base
*GossipState
TopicName string `ask:"<topic>" help:"The name of the topic to join"`
}
func (*GossipJoinCmd) Help ¶
func (c *GossipJoinCmd) Help() string
type GossipLeaveCmd ¶
type GossipLeaveCmd struct {
*base.Base
*GossipState
TopicName string `ask:"<topic>" help:"The name of the topic to leave"`
}
func (*GossipLeaveCmd) Help ¶
func (c *GossipLeaveCmd) Help() string
type GossipListCmd ¶
type GossipListCmd struct {
*base.Base
*GossipState
}
func (*GossipListCmd) Help ¶
func (c *GossipListCmd) Help() string
type GossipListPeersCmd ¶
type GossipListPeersCmd struct {
*base.Base
*GossipState
TopicName string `ask:"<topic>" help:"The name of the topic to list peers of"`
}
func (*GossipListPeersCmd) Help ¶
func (c *GossipListPeersCmd) Help() string
type GossipLogCmd ¶
type GossipLogCmd struct {
*base.Base
*GossipState
TopicName string `ask:"<topic>" help:"The name of the topic to log messages of"`
}
func (*GossipLogCmd) Help ¶
func (c *GossipLogCmd) Help() string
type GossipPublishCmd ¶
type GossipPublishCmd struct {
*base.Base
*GossipState
TopicName string `ask:"<topic>" help:"The name of the topic to publish to"`
Message []byte `ask:"<message>" help:"The uncompressed message bytes, hex-encoded"`
}
func (*GossipPublishCmd) Help ¶
func (c *GossipPublishCmd) Help() string
type GossipStartCmd ¶
type GossipStartCmd struct {
*base.Base
*GossipState
}
func (*GossipStartCmd) Help ¶
func (c *GossipStartCmd) Help() string
type GossipState ¶
Click to show internal directories.
Click to hide internal directories.