Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestObject ¶
type TestObject struct { objectstorage.StorableObjectFlags sync.Mutex // contains filtered or unexported fields }
func NewTestObject ¶
func NewTestObject(id string, value uint32) *TestObject
func (*TestObject) ObjectStorageKey ¶
func (testObject *TestObject) ObjectStorageKey() []byte
func (*TestObject) ObjectStorageValue ¶
func (testObject *TestObject) ObjectStorageValue() []byte
func (*TestObject) UnmarshalObjectStorageValue ¶
func (testObject *TestObject) UnmarshalObjectStorageValue(data []byte) (consumedBytes int, err error)
func (*TestObject) Update ¶
func (testObject *TestObject) Update(object objectstorage.StorableObject)
type ThreeLevelObj ¶
type ThreeLevelObj struct { objectstorage.StorableObjectFlags // contains filtered or unexported fields }
ThreeLevelObj is an object stored on a 3 partition chunked object storage. ID3 corresponds to ThreeLevelObj's value.
func NewThreeLevelObj ¶
func NewThreeLevelObj(id1 byte, id2 byte, id3Value byte) *ThreeLevelObj
func (ThreeLevelObj) ObjectStorageKey ¶
func (t ThreeLevelObj) ObjectStorageKey() []byte
func (ThreeLevelObj) ObjectStorageValue ¶
func (t ThreeLevelObj) ObjectStorageValue() []byte
func (ThreeLevelObj) UnmarshalObjectStorageValue ¶
func (t ThreeLevelObj) UnmarshalObjectStorageValue(data []byte) (int, error)
func (ThreeLevelObj) Update ¶
func (t ThreeLevelObj) Update(object objectstorage.StorableObject)
Click to show internal directories.
Click to hide internal directories.