Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockManager ¶
type BlockManager struct {
// contains filtered or unexported fields
}
func NewBlockManager ¶
func NewBlockManager(key []byte) (*BlockManager, error)
func (*BlockManager) CleanupInactiveBlocks ¶
func (bm *BlockManager) CleanupInactiveBlocks(threshold time.Duration)
func (*BlockManager) DecryptBlock ¶
func (bm *BlockManager) DecryptBlock(blockID string) ([]byte, error)
func (*BlockManager) EncryptBlock ¶
func (bm *BlockManager) EncryptBlock(blockID string, data []byte) error
func (*BlockManager) LockBlock ¶
func (bm *BlockManager) LockBlock(blockID string) error
type Encryptor ¶
type Encryptor struct {
// contains filtered or unexported fields
}
func NewEncryptor ¶
Click to show internal directories.
Click to hide internal directories.