Documentation ¶
Index ¶
- func NewGetBotTransactionsHandler(tbRegistry tbtypes.BotRecordReadRegistry) httprouter.Handle
- func NewGetRecordForIDHandler(tbRegistry tbtypes.BotRecordReadRegistry) httprouter.Handle
- func NewGetRecordForNameHandler(tbRegistry tbtypes.BotRecordReadRegistry) httprouter.Handle
- func RegisterConsensusHTTPHandlers(router api.Router, tbRegistry tbtypes.BotRecordReadRegistry)
- func RegisterExplorerHTTPHandlers(router api.Router, tbRegistry tbtypes.BotRecordReadRegistry)
- type GetBotRecord
- type GetBotTransactions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetBotTransactionsHandler ¶
func NewGetBotTransactionsHandler(tbRegistry tbtypes.BotRecordReadRegistry) httprouter.Handle
NewGetBotTransactionsHandler creates a handler to handle the API calls to /transactiondb/3bot/:id/transactions.
func NewGetRecordForIDHandler ¶
func NewGetRecordForIDHandler(tbRegistry tbtypes.BotRecordReadRegistry) httprouter.Handle
NewGetRecordForIDHandler creates a handler to handle the API calls to /transactiondb/3bot/:id.
func NewGetRecordForNameHandler ¶
func NewGetRecordForNameHandler(tbRegistry tbtypes.BotRecordReadRegistry) httprouter.Handle
NewGetRecordForNameHandler creates a handler to handle the API calls to /transactiondb/whois/3bot/:name.
func RegisterConsensusHTTPHandlers ¶
func RegisterConsensusHTTPHandlers(router api.Router, tbRegistry tbtypes.BotRecordReadRegistry)
RegisterConsensusHTTPHandlers registers the 3Bot handlers for all consensus HTTP endpoints.
func RegisterExplorerHTTPHandlers ¶
func RegisterExplorerHTTPHandlers(router api.Router, tbRegistry tbtypes.BotRecordReadRegistry)
RegisterExplorerHTTPHandlers registers the 3Bot handlers for all explorer HTTP endpoints.
Types ¶
type GetBotRecord ¶
GetBotRecord contains a requested bot record.
type GetBotTransactions ¶
type GetBotTransactions struct {
Identifiers []types.TransactionID `json:"ids"`
}
GetBotTransactions contains the requested identifiers of transactions for a specific bot.
Click to show internal directories.
Click to hide internal directories.