stor

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: BSD-3-Clause Imports: 31 Imported by: 0

Documentation

Overview

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

github.com/donnie4w/wfs

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

github.com/donnie4w/wfs

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

github.com/donnie4w/wfs

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

github.com/donnie4w/wfs

Index

Constants

This section is empty.

Variables

View Source
var (
	ENDOFFSET_     = []byte{1}
	APPENDLOCK_    = []byte{2}
	RESETMMAPLOCK_ = []byte{3}
	OPENMMAPLOCK_  = []byte{4}
	PATH_PRE       = []byte{0, 0}
	CURRENT        = append([]byte{6}, goutil.Int64ToBytes(1<<50)...)
	SEQ            = append([]byte{7}, goutil.Int64ToBytes(1<<51)...)
	PATH_SEQ       = append([]byte{8}, goutil.Int64ToBytes(1<<52)...)
	COUNT          = append([]byte{9}, goutil.Int64ToBytes(1<<53)...)
)

Functions

func New

func New(_dir string) (db *ldb, err error)

Types

type Ram

type Ram struct {
	OsUsedMB    uint64
	OsTotalMB   uint64
	UserdMB     uint64
	UsedPercent float64
}

Jump to

Keyboard shortcuts

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