db

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func OpenDB

func OpenDB(filePath string) (*DB, *data.CodeError)

func (*DB) Delete

func (db *DB) Delete(key string) *data.CodeError

func (*DB) Get

func (db *DB) Get(key string) (string, *data.CodeError)

func (*DB) Put

func (db *DB) Put(key, value string) *data.CodeError

Jump to

Keyboard shortcuts

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