status

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLMDBEnv

func AddLMDBEnv(name string, env *lmdb.Env)

AddLMDBEnv registers an LMDB Env with the status page

func RemoveLMDBEnv

func RemoveLMDBEnv(name string)

func SetStorage

func SetStorage(st simpleblob.Interface)

func StartHTTPServer

func StartHTTPServer(c config.Config)

Types

type DBIStat

type DBIStat struct {
	Name         string
	Stat         *lmdb.Stat
	Used         datasize.ByteSize
	Flags        uint
	FlagsDisplay string
}

type DBInfo

type DBInfo struct {
	Name     string
	Info     *lmdb.EnvInfo
	DBIStats []DBIStat
	Used     datasize.ByteSize
	Err      error
}

type Page

type Page struct {
	// contains filtered or unexported fields
}

func (*Page) BlobListPage

func (p *Page) BlobListPage(w http.ResponseWriter, r *http.Request)

func (*Page) ServeHTTP

func (p *Page) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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