dynamodb

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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) AddRepo

func (db *Driver) AddRepo(chatID string, details *repo.Repo) error

func (*Driver) AllRepos

func (db *Driver) AllRepos() ([]repo.RepoWithChatID, error)

func (*Driver) CheckExisting

func (db *Driver) CheckExisting(chatID, repoID string) (bool, error)

func (*Driver) GetRepos

func (db *Driver) GetRepos(chatID string) ([]repo.Repo, error)

func (*Driver) RemoveRepo

func (db *Driver) RemoveRepo(chatID, repoID string) error

func (*Driver) SetPreReleaseRetrieve

func (db *Driver) SetPreReleaseRetrieve(chatID, repoID string, newValue bool) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL