Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Repository is a concrete implementation of the repository
func NewRepository ¶
func NewRepository() Repository
NewRepository is a constructor for the repository implementation
func (Repository) GetBoxesByEmail ¶
func (r Repository) GetBoxesByEmail(email string) ([]*domain.Box, error)
GetBoxesByEmail gets the boxes of a user by email
func (Repository) GetThingsByBox ¶
func (r Repository) GetThingsByBox(boxID string) ([]*domain.Thing, error)
GetThingsByBox gets the things by box id
Click to show internal directories.
Click to hide internal directories.