database

package
v0.0.0-...-4f179d5 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close closes db if open.

func Delete

func Delete(id string) error

Delete returns error state for deleting db entry mapped to 'id'.

func Open

func Open()

Open initialized db driver if not already done.

func Read

func Read(id string) ([]byte, error)

Read returns byte array and error state for reading db entry mapped to 'id'.

func Write

func Write(id string, blob []byte) error

Write returns error state for creating db entry of 'blob' mapped to 'id'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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