Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTables ¶
func CreateTables() error
CreateTables creates all registered tables. This is used by tests.
func DropTables ¶
func DropTables() error
DropTables drops all registered tables. This is used by tests.
Types ¶
type DataStore ¶
type DataStore struct { UserStore chatable.UserService ThreadStore chatable.ThreadService EnvelopeStore chatable.EnvelopeService AuthTokenStore chatable.AuthTokenService // contains filtered or unexported fields }
Database is the portal to database
func NewDataStore ¶
func NewDataStore(dbh gorp.SqlExecutor) *DataStore
NewDataStore creates new datastore
Click to show internal directories.
Click to hide internal directories.