Documentation ¶
Index ¶
- type Repository
- func (repository *Repository) FindAll(limit int64, offset int64) ([]*entity.Visit, error)
- func (repository *Repository) FindAllByClientID(clientID string, limit int64, offset int64) (result []*entity.Visit, err error)
- func (repository *Repository) FindAllBySessionID(sessionID types.UUID, limit int64, offset int64) (result []*entity.Visit, err error)
- func (repository *Repository) FindByID(visitID types.UUID) (*entity.Visit, error)
- func (repository *Repository) Insert(visit *entity.Visit) (err error)
- func (repository *Repository) Verify(sessionID types.UUID, clientID string) (ok bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct { RefreshAfterInsert bool // contains filtered or unexported fields }
func NewRepository ¶
func NewRepository(client *driver.Client, uuid share.UUIDProviderInterface) (*Repository, error)
func (*Repository) FindAllByClientID ¶
func (*Repository) FindAllBySessionID ¶
Click to show internal directories.
Click to hide internal directories.