Documentation ¶
Index ¶
Constants ¶
View Source
const ( Exception = "Exception" PeersPending = "PeersPending" PeersDead = "PeersDead" PeerNewStream = "PeerNewStream" PeerCloseStream = "PeerCloseStream" PeerError = "PeerError" GetTopics = "GetTopics" AddTopic = "AddTopic" RemoveTopic = "RemoveTopic" RemoveSubscription = "RemoveSubscription" AddSubscription = "AddSubscription" AddRelay = "AddRelay" RemoveRelay = "RemoveRelay" GetPeers = "GetPeers" IncomingRPC = "IncomingRPC" AddValidator = "AddValidator" RemoveValidator = "RemoveValidator" PublishMessage = "PublishMessage" AnnouncingTopic = "AnnouncingTopic" TopicAnnounced = "TopicAnnounced" BlacklistPeer = "BlacklistPeer" )
Variables ¶
View Source
var Names = am.S{Exception, PeersPending, PeersDead, PeerNewStream, PeerCloseStream, PeerError, GetTopics, AddTopic, RemoveTopic, RemoveSubscription, AddSubscription, AddRelay, RemoveRelay, GetPeers, IncomingRPC, AddValidator, RemoveValidator, PublishMessage, AnnouncingTopic, TopicAnnounced, BlacklistPeer}
Names collects and define an order for state names
View Source
var States = am.Struct{ PeersPending: {}, PeersDead: {}, GetPeers: {Multi: true}, PeerNewStream: {Multi: true}, PeerCloseStream: {Multi: true}, PeerError: {Multi: true}, PublishMessage: {Multi: true}, BlacklistPeer: {Multi: true}, GetTopics: {Multi: true}, AddTopic: {Multi: true}, RemoveTopic: {Multi: true}, AnnouncingTopic: {Multi: true}, TopicAnnounced: {Multi: true}, RemoveSubscription: {Multi: true}, AddSubscription: {Multi: true}, AddRelay: {Multi: true}, RemoveRelay: {Multi: true}, IncomingRPC: {Multi: true}, AddValidator: {Multi: true}, RemoveValidator: {Multi: true}, }
States define relations between states
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.