database

package
v0.0.0-...-95c1afc Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorization

type Authorization interface {
	CreateUser(ctx context.Context, user *models.User) (*models.User, error)
	GetUserByEmail(ctx context.Context, email string) (*models.User, error)
}

type Chat

type Chat interface {
	WriteMessage()
	ReadMessage(hub *models.Hub)
}

type Repository

type Repository struct {
	Authorization
	Chat
}

func NewRepository

func NewRepository(db *sqlx.DB, rdb *r.Client) *Repository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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