Documentation
¶
Index ¶
- type RemoteAppspaceModel
- func (m *RemoteAppspaceModel) Create(userID domain.UserID, domainName string, ownerDropID string, dropID string) error
- func (m *RemoteAppspaceModel) Delete(userID domain.UserID, domainName string) error
- func (m *RemoteAppspaceModel) Get(userID domain.UserID, domainName string) (domain.RemoteAppspace, error)
- func (m *RemoteAppspaceModel) GetForUser(userID domain.UserID) ([]domain.RemoteAppspace, error)
- func (m *RemoteAppspaceModel) PrepareStatements()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteAppspaceModel ¶
AppspaceModel represents the model for app spaces
func (*RemoteAppspaceModel) Delete ¶
func (m *RemoteAppspaceModel) Delete(userID domain.UserID, domainName string) error
func (*RemoteAppspaceModel) Get ¶
func (m *RemoteAppspaceModel) Get(userID domain.UserID, domainName string) (domain.RemoteAppspace, error)
Get returns the remote appspace that matches the domain it returns sql.ErrNoRows if none found
func (*RemoteAppspaceModel) GetForUser ¶
func (m *RemoteAppspaceModel) GetForUser(userID domain.UserID) ([]domain.RemoteAppspace, error)
func (*RemoteAppspaceModel) PrepareStatements ¶
func (m *RemoteAppspaceModel) PrepareStatements()
PrepareStatements for appspace model
Click to show internal directories.
Click to hide internal directories.