Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IPCServer ¶ added in v0.6.1
type IPCServer struct {
// contains filtered or unexported fields
}
IPCServer maintains the IPCs
func (*IPCServer) PublishBlockchain ¶ added in v0.6.1
func (ipc *IPCServer) PublishBlockchain(r *http.Request, args *PublishBlockchainArgs, reply *PublishBlockchainReply) error
PublishBlockchain publishes the finalized accepted transactions from the blockchainID over the IPC
func (*IPCServer) UnpublishBlockchain ¶ added in v0.6.1
func (ipc *IPCServer) UnpublishBlockchain(r *http.Request, args *UnpublishBlockchainArgs, reply *api.SuccessResponse) error
UnpublishBlockchain closes publishing of a blockchainID
type PublishBlockchainArgs ¶
type PublishBlockchainArgs struct {
BlockchainID string `json:"blockchainID"`
}
PublishBlockchainArgs are the arguments for calling PublishBlockchain
type PublishBlockchainReply ¶
type PublishBlockchainReply struct { ConsensusURL string `json:"consensusURL"` DecisionsURL string `json:"decisionsURL"` }
PublishBlockchainReply are the results from calling PublishBlockchain
type UnpublishBlockchainArgs ¶
type UnpublishBlockchainArgs struct {
BlockchainID string `json:"blockchainID"`
}
UnpublishBlockchainArgs are the arguments for calling UnpublishBlockchain
Click to show internal directories.
Click to hide internal directories.