infrustucture

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 6 Imported by: 0

README

Bungolow Infrustucture

The infrustucture folder will contain all abstractions to third-party dependancies, servers, databases. Basically ANYTHING Bungolow doesn't want to explicatly depend on.

Documentation

Index

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 *Database) CreateRoom(name string, image string) (room.RoomId, error)

func (*Database) DeleteRoom

func (database *Database) DeleteRoom(id room.RoomId) error

func (*Database) EditRoom

func (database *Database) EditRoom(id room.RoomId, name string, image string) error

func (*Database) Initialize

func (database *Database) Initialize() error

func (*Database) Open

func (database *Database) Open() (*sql.DB, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL