bolt

package
v0.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bolt

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

func New

func New(options map[string]interface{}) (*Bolt, error)

func (*Bolt) Get

func (b *Bolt) Get(_ context.Context, key string) (string, error)

func (*Bolt) Set

func (b *Bolt) Set(_ context.Context, key string, val string) error

type Options

type Options struct {
	Path string `mapstructure:"path" default:"data/data.kv"`
}

Jump to

Keyboard shortcuts

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