Documentation ¶
Index ¶
- type Repository
- func (r Repository) Create(source entity.Source) (entity.Source, error)
- func (r Repository) Delete(source entity.Source) error
- func (r Repository) Exist(sourceID string) (bool, error)
- func (r Repository) GetWithID(id string) (entity.Source, error)
- func (r Repository) HaseMore(ownerID string, lastToken int64, perPage int) (bool, error)
- func (r Repository) List(ownerID string, lastToken int64, limit int) ([]entity.Source, error)
- func (r Repository) Update(source entity.Source) (entity.Source, error)
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
}
func New ¶
func New(db *scyllarepo.DB) *Repository
Source Files ¶
Click to show internal directories.
Click to hide internal directories.