Documentation
¶
Index ¶
- type Module
- type ModuleRepository
- type ModuleRepositoryImpl
- func (impl ModuleRepositoryImpl) FindAll() ([]Module, error)
- func (impl ModuleRepositoryImpl) FindAllByStatus(status string) ([]Module, error)
- func (impl ModuleRepositoryImpl) FindOne(name string) (*Module, error)
- func (impl ModuleRepositoryImpl) GetInstalledModuleNames() ([]string, error)
- func (impl ModuleRepositoryImpl) ModuleExists() (bool, error)
- func (impl ModuleRepositoryImpl) Save(module *Module) error
- func (impl ModuleRepositoryImpl) Update(module *Module) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleRepository ¶
type ModuleRepositoryImpl ¶
type ModuleRepositoryImpl struct {
// contains filtered or unexported fields
}
func NewModuleRepositoryImpl ¶
func NewModuleRepositoryImpl(dbConnection *pg.DB) *ModuleRepositoryImpl
func (ModuleRepositoryImpl) FindAll ¶
func (impl ModuleRepositoryImpl) FindAll() ([]Module, error)
func (ModuleRepositoryImpl) FindAllByStatus ¶
func (impl ModuleRepositoryImpl) FindAllByStatus(status string) ([]Module, error)
func (ModuleRepositoryImpl) FindOne ¶
func (impl ModuleRepositoryImpl) FindOne(name string) (*Module, error)
func (ModuleRepositoryImpl) GetInstalledModuleNames ¶
func (impl ModuleRepositoryImpl) GetInstalledModuleNames() ([]string, error)
func (ModuleRepositoryImpl) ModuleExists ¶
func (impl ModuleRepositoryImpl) ModuleExists() (bool, error)
func (ModuleRepositoryImpl) Save ¶
func (impl ModuleRepositoryImpl) Save(module *Module) error
func (ModuleRepositoryImpl) Update ¶
func (impl ModuleRepositoryImpl) Update(module *Module) error
Click to show internal directories.
Click to hide internal directories.