actions

package
v0.0.0-...-35b6fbf Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package actions defines actions performed by a user that alters the database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoginUser

func LoginUser(email, passwd string) (*model.User, error)

LoginUser logs in a user

func RegisterUser

func RegisterUser(u *model.User) error

RegisterUser registers a new user

Types

This section is empty.

Jump to

Keyboard shortcuts

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