datastore_db

package
v0.0.0-...-b5d5140 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteObjectByDataID

func DeleteObjectByDataID(dataID uint64) uint32

func GetObjectInfoByDataID

func GetObjectInfoByDataID(dataID uint64) (*datastore_types.DataStoreMetaInfo, uint32)

func GetObjectInfoByDataIDWithPassword

func GetObjectInfoByDataIDWithPassword(dataID uint64, password uint64) (*datastore_types.DataStoreMetaInfo, uint32)

func GetObjectInfoByPersistenceTargetWithPassword

func GetObjectInfoByPersistenceTargetWithPassword(persistenceTarget *datastore_types.DataStorePersistenceTarget, password uint64) (*datastore_types.DataStoreMetaInfo, uint32)

func GetObjectOwnerByDataID

func GetObjectOwnerByDataID(dataID uint64) (uint32, uint32)

func GetObjectRatingsWithSlotByDataID

func GetObjectRatingsWithSlotByDataID(dataID uint64) ([]*datastore_types.DataStoreRatingInfoWithSlot, uint32)

func GetObjectRatingsWithSlotByDataIDWithPassword

func GetObjectRatingsWithSlotByDataIDWithPassword(dataID uint64, password uint64) ([]*datastore_types.DataStoreRatingInfoWithSlot, uint32)

func GetObjectSizeDataID

func GetObjectSizeDataID(dataID uint64) (uint32, uint32)

func InitializeObjectByPreparePostParam

func InitializeObjectByPreparePostParam(ownerPID uint32, param *datastore_types.DataStorePreparePostParam) (uint64, uint32)

func InitializeObjectRatingWithSlot

func InitializeObjectRatingWithSlot(dataID uint64, param *datastore_types.DataStoreRatingInitParamWithSlot) uint32

func IsObjectAvailable

func IsObjectAvailable(dataID uint64) uint32

func IsObjectAvailableWithPassword

func IsObjectAvailableWithPassword(dataID, password uint64) uint32

func RateObjectWithPassword

func RateObjectWithPassword(dataID uint64, slot uint8, ratingValue int32, accessPassword uint64) (*datastore_types.DataStoreRatingInfo, uint32)

func UpdateObjectDataTypeByDataIDWithPassword

func UpdateObjectDataTypeByDataIDWithPassword(dataID uint64, dataType uint16, password uint64) uint32

func UpdateObjectMetaBinaryByDataIDWithPassword

func UpdateObjectMetaBinaryByDataIDWithPassword(dataID uint64, metaBinary []byte, password uint64) uint32

func UpdateObjectPeriodByDataIDWithPassword

func UpdateObjectPeriodByDataIDWithPassword(dataID uint64, period uint16, password uint64) uint32

func UpdateObjectUploadCompletedByDataID

func UpdateObjectUploadCompletedByDataID(dataID uint64, uploadCompleted bool) uint32

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL