userinvitationmodel

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInvitationModel

type UserInvitationModel struct {
	DB *domain.DB
	// contains filtered or unexported fields
}

UserInvitationModel represents the model for settings

func (*UserInvitationModel) Create

func (m *UserInvitationModel) Create(email string) error

Create adds an invitiation to the table

func (*UserInvitationModel) Delete

func (m *UserInvitationModel) Delete(email string) error

Delete removes an invitiation from the table

func (*UserInvitationModel) Get

Get is used to know if an email is invited

func (*UserInvitationModel) GetAll

GetAll returns all invitations

func (*UserInvitationModel) PrepareStatements

func (m *UserInvitationModel) PrepareStatements()

PrepareStatements prepares the statements

Jump to

Keyboard shortcuts

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