package
0.0.0-20181026173911-eca9d0580304
Repository: https://github.com/lavab/api.git
Documentation: pkg.go.dev

# Functions

NewCRUDTable sets up a new Default struct.
NewDatabaseError creates a new DatabaseError, wraps err and adds a message.
Setup configures the RethinkDB server.

# Structs

AccountsTable implements the CRUD interface for accounts.
No description provided by the author
Contacts implements the CRUD interface for tokens.
DatabaseError is the wrapper for RethinkDB errors that allows passing more data with the message.
Default contains the basic implementation of the gorethinkCRUD interface.
Emails implements the CRUD interface for tokens.
No description provided by the author
No description provided by the author
No description provided by the author
ReservationsTable is a CRUD interface for accessing the "reservation" table.
No description provided by the author
TokensTable implements the CRUD interface for tokens.

# Interfaces

RethinkCreator contains a function to create new instances in the table.
RethinkCRUD is the interface that every table should implement.
RethinkDeleter allows deleting resources from the database.
RethinkReader allows fetching resources from the database.
RethinkTable contains the most basic table functions.
RethinkUpdater allows updating existing resources in the database.