repository

package
v0.0.0-...-877dc42 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

Repository is our main holder for database access

func New

func New() (*Repository, error)

New creates new boltdb database

func (*Repository) Account

func (r *Repository) Account() *accountRepository

Account returns account repository

func (*Repository) Close

func (r *Repository) Close() error

Close the database

func (*Repository) Transaction

func (r *Repository) Transaction() *transactionRepository

Transaction returns transaction repository

Jump to

Keyboard shortcuts

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