Documentation
¶
Index ¶
- type BlockchainRPC
- func (bcRPC *BlockchainRPC) GetEdgePeerUpdates() chan mblockchain_vars.EdgePeerUpdate
- func (bcRPC *BlockchainRPC) GetPeerUpdates() chan mblockchain_vars.PeerUpdate
- func (bcRPC *BlockchainRPC) Init()
- func (bcRPC *BlockchainRPC) UpdateEdgePeers(r *http.Request, args *UpdateEdgePeersArgs, reply *UpdateEdgePeersReply) error
- func (bcRPC *BlockchainRPC) UpdatePeers(r *http.Request, args *UpdatePeersArgs, reply *UpdatePeersReply) error
- type UpdateEdgePeersArgs
- type UpdateEdgePeersReply
- type UpdatePeersArgs
- type UpdatePeersReply
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockchainRPC ¶
type BlockchainRPC struct {
// contains filtered or unexported fields
}
func (*BlockchainRPC) GetEdgePeerUpdates ¶
func (bcRPC *BlockchainRPC) GetEdgePeerUpdates() chan mblockchain_vars.EdgePeerUpdate
func (*BlockchainRPC) GetPeerUpdates ¶
func (bcRPC *BlockchainRPC) GetPeerUpdates() chan mblockchain_vars.PeerUpdate
func (*BlockchainRPC) Init ¶
func (bcRPC *BlockchainRPC) Init()
func (*BlockchainRPC) UpdateEdgePeers ¶
func (bcRPC *BlockchainRPC) UpdateEdgePeers(r *http.Request, args *UpdateEdgePeersArgs, reply *UpdateEdgePeersReply) error
TODO: STUB Handler for incoming rpc requests of type rpc.UPDATE_EDGE_PEERS ( "rpcUpdateEdgePeers" ) Pushes specific EdgePeerUpdates to the edgePeerUpdates channel after parsing the rpc request
func (*BlockchainRPC) UpdatePeers ¶
func (bcRPC *BlockchainRPC) UpdatePeers(r *http.Request, args *UpdatePeersArgs, reply *UpdatePeersReply) error
type UpdateEdgePeersArgs ¶
type UpdateEdgePeersArgs struct{}
type UpdateEdgePeersReply ¶
type UpdateEdgePeersReply struct{}
type UpdatePeersArgs ¶
type UpdatePeersReply ¶
type UpdatePeersReply struct { }
Click to show internal directories.
Click to hide internal directories.