Documentation
¶
Index ¶
- func CreateDatabase() repository.DbConnection
- type Database
- func (database *Database) CreateRoom(name string, image string) (room.RoomId, error)
- func (database *Database) DeleteRoom(id room.RoomId) error
- func (database *Database) EditRoom(id room.RoomId, name string, image string) error
- func (database *Database) Initialize() error
- func (database *Database) Open() (*sql.DB, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDatabase ¶
func CreateDatabase() repository.DbConnection
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) CreateRoom ¶
func (*Database) Initialize ¶
Click to show internal directories.
Click to hide internal directories.