Documentation
¶
Index ¶
- type ContactModel
- func (m *ContactModel) Create(userID domain.UserID, name string, displayName string) (domain.Contact, error)
- func (m *ContactModel) Delete(userID domain.UserID, contactID domain.ContactID) error
- func (m *ContactModel) Get(contactID domain.ContactID) (domain.Contact, error)
- func (m *ContactModel) GetForUser(userID domain.UserID) ([]domain.Contact, error)
- func (m *ContactModel) PrepareStatements()
- func (m *ContactModel) Update(userID domain.UserID, contactID domain.ContactID, name string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContactModel ¶
ContactModel stores user contacts and their participation in appspaces
func (*ContactModel) Create ¶
func (m *ContactModel) Create(userID domain.UserID, name string, displayName string) (domain.Contact, error)
Create a new contact
func (*ContactModel) GetForUser ¶
GetForUser retusn all contacts for teh given user id
func (*ContactModel) PrepareStatements ¶
func (m *ContactModel) PrepareStatements()
PrepareStatements for appspace model
Click to show internal directories.
Click to hide internal directories.