complex

package
v0.0.0-...-513a5af Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func NewApp

func NewApp(mysql *sql.DB, firestore *firestore.Client) *App

func (*App) CreateUser

func (a *App) CreateUser(ctx context.Context, username, email string) (*model.User, error)

func (*App) SendMessage

func (a *App) SendMessage(ctx context.Context, user *model.User, body string) (*model.Message, error)

Jump to

Keyboard shortcuts

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