Documentation
¶
Index ¶
- type Driver
- func (db *Driver) AddRepo(chatID string, details *repo.Repo) error
- func (db *Driver) AllRepos() ([]repo.RepoWithChatID, error)
- func (db *Driver) CheckExisting(chatID, repoID string) (bool, error)
- func (db *Driver) GetRepos(chatID string) ([]repo.Repo, error)
- func (db *Driver) RemoveRepo(chatID, repoID string) error
- func (db *Driver) SetPreReleaseRetrieve(chatID, repoID string, newValue bool) error
- func (db *Driver) UpdateEntry(repo repo.RepoWithChatID) error
- type DriverFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) RemoveRepo ¶
func (*Driver) SetPreReleaseRetrieve ¶
func (*Driver) UpdateEntry ¶
func (db *Driver) UpdateEntry(repo repo.RepoWithChatID) error
type DriverFactory ¶
type DriverFactory struct{}
func (*DriverFactory) Create ¶
func (factory *DriverFactory) Create(logger zap.SugaredLogger) database.Database
Click to show internal directories.
Click to hide internal directories.