Documentation
¶
Index ¶
- type Bark
- type BarkConfig
- type BlobStoreBark
- func (b *BlobStoreBark) Close() error
- func (b *BlobStoreBark) Delete(txn types.Txn, key []byte) error
- func (b *BlobStoreBark) DeleteBlock(txn types.Txn, slot uint64, hash []byte, id uint64) error
- func (b *BlobStoreBark) DeleteTx(txn types.Txn, txHash []byte) error
- func (b *BlobStoreBark) DeleteUtxo(txn types.Txn, txId []byte, outputIdx uint32) error
- func (b *BlobStoreBark) Get(txn types.Txn, key []byte) ([]byte, error)
- func (b *BlobStoreBark) GetBlock(txn types.Txn, slot uint64, hash []byte) ([]byte, types.BlockMetadata, error)
- func (b *BlobStoreBark) GetBlockURL(ctx context.Context, txn types.Txn, point ocommon.Point) (types.SignedURL, types.BlockMetadata, error)
- func (b *BlobStoreBark) GetCommitTimestamp() (int64, error)
- func (b *BlobStoreBark) GetTx(txn types.Txn, txHash []byte) ([]byte, error)
- func (b *BlobStoreBark) GetUtxo(txn types.Txn, txId []byte, outputIdx uint32) ([]byte, error)
- func (b *BlobStoreBark) NewIterator(txn types.Txn, opts types.BlobIteratorOptions) types.BlobIterator
- func (b *BlobStoreBark) NewTransaction(b2 bool) types.Txn
- func (b *BlobStoreBark) Set(txn types.Txn, key, val []byte) error
- func (b *BlobStoreBark) SetBlock(txn types.Txn, slot uint64, hash []byte, cbor []byte, id uint64, ...) error
- func (b *BlobStoreBark) SetCommitTimestamp(i int64, txn types.Txn) error
- func (b *BlobStoreBark) SetTx(txn types.Txn, txHash []byte, offsetData []byte) error
- func (b *BlobStoreBark) SetUtxo(txn types.Txn, txId []byte, outputIdx uint32, cbor []byte) error
- type BlobStoreBarkConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bark ¶
type Bark struct {
// contains filtered or unexported fields
}
func NewBark ¶
func NewBark(cfg BarkConfig) *Bark
type BarkConfig ¶
type BlobStoreBark ¶
type BlobStoreBark struct {
// contains filtered or unexported fields
}
func NewBarkBlobStore ¶
func NewBarkBlobStore( config BlobStoreBarkConfig, upstream blob.BlobStore, ) *BlobStoreBark
func (*BlobStoreBark) Close ¶
func (b *BlobStoreBark) Close() error
func (*BlobStoreBark) DeleteBlock ¶
func (*BlobStoreBark) DeleteTx ¶
func (b *BlobStoreBark) DeleteTx(txn types.Txn, txHash []byte) error
func (*BlobStoreBark) DeleteUtxo ¶
func (*BlobStoreBark) GetBlock ¶
func (b *BlobStoreBark) GetBlock( txn types.Txn, slot uint64, hash []byte, ) ([]byte, types.BlockMetadata, error)
func (*BlobStoreBark) GetBlockURL ¶
func (*BlobStoreBark) GetCommitTimestamp ¶
func (b *BlobStoreBark) GetCommitTimestamp() (int64, error)
func (*BlobStoreBark) NewIterator ¶
func (b *BlobStoreBark) NewIterator( txn types.Txn, opts types.BlobIteratorOptions, ) types.BlobIterator
func (*BlobStoreBark) NewTransaction ¶
func (b *BlobStoreBark) NewTransaction(b2 bool) types.Txn
func (*BlobStoreBark) SetCommitTimestamp ¶
func (b *BlobStoreBark) SetCommitTimestamp(i int64, txn types.Txn) error
type BlobStoreBarkConfig ¶
Click to show internal directories.
Click to hide internal directories.