database

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Connect

func Connect(provider api.DatabaseProvider)

Connect to the database. Use provider strategy.

func DeleteBucket

func DeleteBucket(id string) int

Deletes a bucket and all its entries.

func GetBucket

func GetBucket(id string) api.Bucket

Returns a bucket.

func StoreRequest

func StoreRequest(r *api.BucketEntry)

Stores a request in a bucket.

Types

This section is empty.

Jump to

Keyboard shortcuts

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