database

package
v0.0.0-...-8e5ec8a Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package database contains a simple database interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func NewDatabaseClient

func NewDatabaseClient() (*Database, error)

func (*Database) Delete

func (d *Database) Delete(key string)

func (*Database) Get

func (d *Database) Get(key string) interface{}

func (*Database) Keys

func (d *Database) Keys(prefix string) []string

func (*Database) Set

func (d *Database) Set(key string, object interface{})

Jump to

Keyboard shortcuts

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