Documentation ¶
Index ¶
- type DB
- func (db *DB) GetAssets(ctx context.Context) ([]*entry.Asset2d, error)
- func (db *DB) RemoveAssetByID(ctx context.Context, asset2dID umid.UMID) error
- func (db *DB) RemoveAssetsByIDs(ctx context.Context, asset2dIDs []umid.UMID) error
- func (db *DB) UpdateAssetMeta(ctx context.Context, asset2dID umid.UMID, meta entry.Asset2dMeta) error
- func (db *DB) UpdateAssetOptions(ctx context.Context, asset2dID umid.UMID, asset2dOptions *entry.Asset2dOptions) error
- func (db *DB) UpsertAsset(ctx context.Context, asset2d *entry.Asset2d) error
- func (db *DB) UpsertAssets(ctx context.Context, assets2d []*entry.Asset2d) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) RemoveAssetByID ¶ added in v0.2.0
func (*DB) RemoveAssetsByIDs ¶ added in v0.2.0
func (*DB) UpdateAssetMeta ¶ added in v0.2.0
func (*DB) UpdateAssetOptions ¶ added in v0.2.0
func (*DB) UpsertAsset ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.