Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRepository ¶
type AccountRepository interface {
RetrieveBalanceAtBlock(addressStr string, consensusEnd int64) ([]types.Amount, *rTypes.Error)
}
AccountRepository Interface that all AccountRepository structs must implement
type AddressBookEntryRepository ¶
type AddressBookEntryRepository interface {
Entries() (*types.AddressBookEntries, *rTypes.Error)
}
AddressBookEntryRepository Interface that all AddressBookEntryRepository structs must implement
type BlockRepository ¶
type BlockRepository interface { FindByIndex(index int64) (*types.Block, *rTypes.Error) FindByHash(hash string) (*types.Block, *rTypes.Error) FindByIdentifier(index int64, hash string) (*types.Block, *rTypes.Error) RetrieveGenesis() (*types.Block, *rTypes.Error) RetrieveLatest() (*types.Block, *rTypes.Error) }
BlockRepository Interface that all BlockRepository structs must implement
type TokenRepository ¶
TokenRepository Interface that all TokenRepository structs must implement
type TransactionRepository ¶
type TransactionRepository interface { FindByHashInBlock(identifier string, consensusStart int64, consensusEnd int64) (*types.Transaction, *rTypes.Error) FindBetween(start int64, end int64) ([]*types.Transaction, *rTypes.Error) Results() (map[int]string, *rTypes.Error) Types() (map[int]string, *rTypes.Error) TypesAsArray() ([]string, *rTypes.Error) }
TransactionRepository Interface that all TransactionRepository structs must implement
Click to show internal directories.
Click to hide internal directories.