Help us shape the future of Go! Take the 2026 Go Developer Survey

bolt

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package bolt provides BoltDB-backed implementations for KV, set, and proto-session I/O primitives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBatchedProtosessionsIOBackend added in v0.13.0

func NewBatchedProtosessionsIOBackend(
	db *bolt.DB,
	encoder encoding.EncoderFunc,
	decoder encoding.DecoderFunc,
) (protosessions.BatchedIOBackend, error)

NewBatchedProtosessionsIOBackend creates a BatchedIOBackend using BoltDB with single-transaction batching

func NewBoltKV

func NewBoltKV(dbPath string) (storage.KV, error)

NewBoltKV creates a new KV implementation using BoltDB

func NewBoltSet

func NewBoltSet(dbPath string) (storage.Set, error)

NewBoltSet creates a new Set implementation using BoltDB

Types

This section is empty.

Jump to

Keyboard shortcuts

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