예제 #1
0
파일: t_object.go 프로젝트: lessos/lessdb
func (op *ObjectPath) NsLogEntryIndex(group_number uint32, num uint64) []byte {
	return dbutil.BytesConcat([]byte{NsObjectLogEntry}, op.BucketBytes(), dbutil.Uint32ToBytes(group_number), dbutil.Uint64ToBytes(num))
}
예제 #2
0
파일: t_object.go 프로젝트: lessos/lessdb
func (op *ObjectPath) NsGroupStatusIndex(group_number uint32) []byte {
	return dbutil.BytesConcat([]byte{NsObjectGroupStatus}, op.BucketBytes(), dbutil.Uint32ToBytes(group_number))
}
예제 #3
0
파일: t_object.go 프로젝트: lessos/lessdb
func (op *ObjectPath) NsLogCounterIndex(group_number uint32) []byte {
	return dbutil.BytesConcat([]byte{NsObjectLogCounter}, op.BucketBytes(), dbutil.Uint32ToBytes(group_number))
}