Esempio n. 1
0
func (op *ObjectPath) NsLogEntryIndex(group_number uint32, num uint64) []byte {
	return dbutil.BytesConcat([]byte{NsObjectLogEntry}, op.BucketBytes(), dbutil.Uint32ToBytes(group_number), dbutil.Uint64ToBytes(num))
}
Esempio n. 2
0
func (op *ObjectPath) NsGroupStatusIndex(group_number uint32) []byte {
	return dbutil.BytesConcat([]byte{NsObjectGroupStatus}, op.BucketBytes(), dbutil.Uint32ToBytes(group_number))
}
Esempio n. 3
0
func (op *ObjectPath) NsLogCounterIndex(group_number uint32) []byte {
	return dbutil.BytesConcat([]byte{NsObjectLogCounter}, op.BucketBytes(), dbutil.Uint32ToBytes(group_number))
}