Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
A Database provides a wrapper around an SQL database that can be used as the persistent storage for the various types of store required by the identity service.
func NewDatabase ¶
NewDatabase creates a new Database using the given driverName and *sql.DB. The driverName must match the value used to open the database.
func (*Database) MeetingStore ¶
MeetingStore returns a new meeting.Stor implementation using this database for persistent storage.
func (*Database) ProviderDataStore ¶
func (d *Database) ProviderDataStore() store.ProviderDataStore
ProviderDataStore returns a new store.ProviderDataStore implementation using this database for persistent storage.
Click to show internal directories.
Click to hide internal directories.