level2

package
v0.0.0-...-b22f859 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Copyright (c) 2023, donnie <donnie4w@gmail.com> All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

github.com/donnie4w/tldb

Index

Constants

This section is empty.

Variables

View Source
var Level2 = newLevel2()
View Source
var Tldb = &tldb{mux: &sync.RWMutex{}, tables: NewMapL[string, *TableStruct](), _t: 0}
View Source
var TldbMq = &tldb{mux: &sync.RWMutex{}, tables: NewMapL[string, *TableStruct](), _t: 1}

Functions

This section is empty.

Types

type TableStruct

type TableStruct struct {
	IdMax     int64
	IdxCount  int64
	KeyCount  int64
	Tablename string
	Fields    *Map[string, []byte]
	Idx       *Map[string, int8]
}

func NewTableStruct

func NewTableStruct(db *TableStub) *TableStruct

Jump to

Keyboard shortcuts

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