Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MainBucket is the bucket where the whole thing will be stored MainBucket = "Wallets" // DB is the key used for storing the datatore in the request context DB = "db" )
Variables ¶
This section is empty.
Functions ¶
func Persistence ¶
func Persistence(db *Database) echo.MiddlewareFunc
Persistence is the middleware handler for the persistence datastore
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database is the main datastore implementation
func NewDatabase ¶
NewDatabase creates a new database object.
func (*Database) DeleteWallet ¶
Click to show internal directories.
Click to hide internal directories.