Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationLog ¶
type AuthenticationLog struct { ID int64 UserID uint IP string UserAgent string CreatedAt time.Time }
func (*AuthenticationLog) ToGraph ¶
func (r *AuthenticationLog) ToGraph() *model.AuthenticationLog
type Repository ¶
type Repository interface { Count(ctx context.Context) (int64, error) GetAll(ctx context.Context) ([]*AuthenticationLog, error) GetPaginated(ctx context.Context, limit, offset int, sortBy []string) ([]*AuthenticationLog, error) GetByID(ctx context.Context, id int64) (*AuthenticationLog, error) Create(ctx context.Context, upload *AuthenticationLog) error Update(ctx context.Context, upload *AuthenticationLog) error Delete(ctx context.Context, id int64) error }
Click to show internal directories.
Click to hide internal directories.