Versions in this module Expand all Collapse all v1 v1.6.1 Jul 9, 2019 Changes in this version + func NewDAO(o dao.DAO) dao.DAO + type DAO interface + ClearNodeEncryptedBlockInfo func(nodeUuid string) error + ClearNodeEncryptedPartBlockInfo func(nodeUuid string, partId int) error + CopyNode func(srcUuid, targetUuid string) error + DeleteNode func(nodeUuid string) error + DeleteNodeKey func(nodeKey *encryption.NodeKey) error + GetEncryptedLegacyBlockInfo func(nodeUuid string) (*RangedBlocks, error) + GetNode func(nodeUuid string) (*encryption.Node, error) + GetNodeKey func(node string, user string) (*encryption.NodeKey, error) + ListEncryptedBlockInfo func(nodeUuid string) (QueryResultCursor, error) + SaveEncryptedBlockInfo func(nodeUuid string, b *RangedBlocks) error + SaveNode func(node *encryption.Node) error + SaveNodeKey func(nodeKey *encryption.NodeKey) error + UpgradeNodeVersion func(nodeUuid string) error + type DBCursor struct + func (c *DBCursor) Close() error + func (c *DBCursor) HasNext() bool + func (c *DBCursor) Next() (interface{}, error) + type QueryResultCursor interface + Close func() error + HasNext func() bool + Next func() (interface{}, error) + func NewDBCursor(rows *sqldb.Rows, scanner dbRowScanner) QueryResultCursor + type RangedBlocks struct + BlockSize uint32 + HeaderSize uint32 + Nonce []byte + OwnerId string + PartId uint32 + SeqEnd uint32 + SeqStart uint32 Incompatible versions in this module v2.0.6+incompatible Apr 23, 2020