store

package module
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: MIT Imports: 1 Imported by: 0

README

Go Reference Go Report Card

Simple Store

It's a simple key-value store using BuntDB.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store added in v0.1.0

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

func New added in v0.1.0

func New(db string) *Store

func (*Store) Add added in v0.1.0

func (store *Store) Add(key string, value string) error

func (*Store) Get added in v0.1.0

func (store *Store) Get(key string) (string, error)

func (*Store) GetAll added in v0.1.0

func (store *Store) GetAll() ([]string, error)

func (*Store) Remove added in v0.1.0

func (store *Store) Remove(key string) error

Jump to

Keyboard shortcuts

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