Documentation ¶
Index ¶
- type InMemoryMissionControlRepository
- func (repo *InMemoryMissionControlRepository) GetByUUID(uuid string) (*domain.MissionControl, error)
- func (repo *InMemoryMissionControlRepository) GetByUser(user *domain.User) (*domain.MissionControl, error)
- func (repo *InMemoryMissionControlRepository) List() ([]*domain.MissionControl, error)
- func (repo *InMemoryMissionControlRepository) Save(user *domain.User, missionControl *domain.MissionControl) error
- type InMemoryPlatformRepository
- type InMemoryRoverRepository
- type InMemoryUserRepository
- func (repo *InMemoryUserRepository) GetByUUID(uuid string) (*domain.User, error)
- func (repo *InMemoryUserRepository) GetByUsername(username string) (*domain.User, error)
- func (repo *InMemoryUserRepository) List() ([]*domain.User, error)
- func (repo *InMemoryUserRepository) Save(user *domain.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryMissionControlRepository ¶
type InMemoryMissionControlRepository struct {
// contains filtered or unexported fields
}
func NewInMemoryMissionControlRepository ¶
func NewInMemoryMissionControlRepository() *InMemoryMissionControlRepository
func (*InMemoryMissionControlRepository) GetByUUID ¶
func (repo *InMemoryMissionControlRepository) GetByUUID(uuid string) (*domain.MissionControl, error)
func (*InMemoryMissionControlRepository) GetByUser ¶
func (repo *InMemoryMissionControlRepository) GetByUser(user *domain.User) (*domain.MissionControl, error)
func (*InMemoryMissionControlRepository) List ¶
func (repo *InMemoryMissionControlRepository) List() ([]*domain.MissionControl, error)
func (*InMemoryMissionControlRepository) Save ¶
func (repo *InMemoryMissionControlRepository) Save(user *domain.User, missionControl *domain.MissionControl) error
type InMemoryPlatformRepository ¶
type InMemoryPlatformRepository struct {
// contains filtered or unexported fields
}
func NewInMemoryPlatformRepository ¶
func NewInMemoryPlatformRepository() *InMemoryPlatformRepository
func (*InMemoryPlatformRepository) GetByUUID ¶
func (repo *InMemoryPlatformRepository) GetByUUID(uuid string) (*domain.Platform, error)
type InMemoryRoverRepository ¶
type InMemoryRoverRepository struct {
// contains filtered or unexported fields
}
func NewInMemoryRoverRepository ¶
func NewInMemoryRoverRepository() *InMemoryRoverRepository
func (*InMemoryRoverRepository) GetByUUID ¶
func (repo *InMemoryRoverRepository) GetByUUID(uuid string) (*domain.Rover, error)
type InMemoryUserRepository ¶
type InMemoryUserRepository struct {
// contains filtered or unexported fields
}
func NewInMemoryUserRepository ¶
func NewInMemoryUserRepository() *InMemoryUserRepository
func (*InMemoryUserRepository) GetByUUID ¶
func (repo *InMemoryUserRepository) GetByUUID(uuid string) (*domain.User, error)
func (*InMemoryUserRepository) GetByUsername ¶
func (repo *InMemoryUserRepository) GetByUsername(username string) (*domain.User, error)
Click to show internal directories.
Click to hide internal directories.