Documentation ¶
Overview ¶
Contains the Bibon constant definitions
Index ¶
Constants ¶
View Source
const ( ProtocolVersionStr = "1.0.0" // The same, as agent string ProtocolName = "bitbonagent" // Nickname of the protocol in geth DefaultJournalName = ".bitbon.agent.journal.LDB" DefaultJournalTimeout = 10 * time.Minute DefaultConfirmTimeout = 10 * time.Second DefaultPublishTimeout = 3 * time.Second )
Bitbon constants
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API provides the bitbon bitbon RPC service
func (*API) GetJournal ¶
func (api *API) GetJournal() ([]*amqp.Publishing, error)
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func (*Agent) GetJournal ¶
func (a *Agent) GetJournal() *bitbonAmqp.PublishJournal
Click to show internal directories.
Click to hide internal directories.