Documentation ¶
Index ¶
- Variables
- type Circle
- type Hub
- func (h *Hub) Discover(peerID pb.PeerID) <-chan pb.Peer
- func (h *Hub) Expel(peerID pb.PeerID)
- func (h *Hub) Invite(peerID pb.PeerID)
- func (h *Hub) Join(peerID pb.PeerID)
- func (h *Hub) Log() <-chan pb.Entry
- func (h *Hub) Peers() <-chan pb.Peer
- func (h *Hub) Propose(proposal pb.Proposal)
- func (h *Hub) Start()
- func (h *Hub) Status() pb.StatusInfo
- func (h *Hub) Stop()
- type Net
Constants ¶
This section is empty.
Variables ¶
View Source
var CircleProtocol = protocol.ID("/stratumn/node/circle/v1.0.0")
CircleProtocol defines protocol for internal use
View Source
var DiscoverProtocol = protocol.ID("/stratumn/node/circle-discover/v1.0.0")
DiscoverProtocol defines protocol for peer discovery
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.