boltd

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: MIT Imports: 6 Imported by: 0

README

boltd Project status

This server allows you introspect Bolt database in a web browser. The boltd tool gives you access to low-level page information and b-tree structures so you can better understand how Bolt is laying out your data.

Getting Started

To install boltd, use the go get command:

$ go get github.com/itomsawyer/boltd/...

And then run the boltd binary by passing in the path to your database:

$ boltd path/to/my.db

HTTP Integration

You can also use boltd as an http.Handler in your own application. To use it, simply add the handler to your muxer:

http.Handle("/introspect", http.StripPrefix("/introspect", boltd.NewHandler(mydb)))

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGinHandler

func NewGinHandler(db *bolt.DB) gin.HandlerFunc

func NewHandler

func NewHandler(db *bolt.DB) http.Handler

NewHandler returns a new root HTTP handler.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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