Documentation
¶
Index ¶
- type AuthAuditPgRepository
- func (aa *AuthAuditPgRepository) GetTail(ctx context.Context, tailDate time.Time) ([]string, error)
- func (aa *AuthAuditPgRepository) ListByPeriod(ctx context.Context, from, till time.Time, limit, offset int) ([]*domain.AuthAudit, error)
- func (aa *AuthAuditPgRepository) ListByUsername(ctx context.Context, username string, offset, limit int) ([]*domain.AuthAudit, error)
- type DataAuditPgRepository
- func (da *DataAuditPgRepository) GetTail(ctx context.Context, tailDate time.Time) ([]string, error)
- func (da *DataAuditPgRepository) ListByInstance(ctx context.Context, typeName string, instanceID string, limit, offset int) ([]*domain.DataAudit, error)
- func (da *DataAuditPgRepository) ListByPeriod(ctx context.Context, from, till time.Time, limit, offset int) ([]*domain.DataAudit, error)
- type PgDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthAuditPgRepository ¶
type AuthAuditPgRepository struct {
*repository.BaseCRUDRepository[*domain.AuthAudit, string]
}
func NewAuthAuditPgRepository ¶
func NewAuthAuditPgRepository(executor db.Executor, errDecipher db.ErrorDecipher) (*AuthAuditPgRepository, error)
func (*AuthAuditPgRepository) ListByPeriod ¶
func (*AuthAuditPgRepository) ListByUsername ¶
type DataAuditPgRepository ¶
type DataAuditPgRepository struct {
*repository.BaseCRUDRepository[*domain.DataAudit, string]
}
func NewDataAuditPgRepository ¶
func NewDataAuditPgRepository(executor db.Executor, errDecipher db.ErrorDecipher) (*DataAuditPgRepository, error)
func (*DataAuditPgRepository) ListByInstance ¶
type PgDB ¶
type PgDB struct {
// contains filtered or unexported fields
}
func (*PgDB) IsUniqueViolation ¶
Click to show internal directories.
Click to hide internal directories.