bolt

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 6 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(key string) (string, error)

func (*Bolt) Set

func (b *Bolt) Set(key string, val string) error

type Options

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

Jump to

Keyboard shortcuts

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