db

package
v0.0.0-...-b8c1a1b Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 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 BoltDb

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

func (BoltDb) Close

func (db BoltDb) Close()

func (BoltDb) Get

func (db BoltDb) Get() models.Entries

func (BoltDb) Save

func (db BoltDb) Save(key time.Time, value string)

type Db

type Db interface {
	Get() models.Entries
	Save(time.Time, string)
	Close()
}

func Open

func Open(path, horizon string) Db

Jump to

Keyboard shortcuts

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