Documentation ¶
Index ¶
- type AddState
- type DB
- func (db *DB) AddData(user User, data string) (AddState, error)
- func (db *DB) AddUser(user User) (int, error)
- func (d *DB) CreateSchema() error
- func (db *DB) DeleteData(user User, version string) error
- func (db *DB) GetUserData(user User, version string) (string, error)
- func (db *DB) ListVersions(user User) ([]List, error)
- func (db *DB) PurgeUser(user User) error
- type DbSchema
- type Key
- type List
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
func (*DB) GetUserData ¶
GetUserData ...
func (*DB) ListVersions ¶
ListVersions list user data versions
Click to show internal directories.
Click to hide internal directories.