Documentation ¶
Overview ¶
Package usecase account implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoryUsecase ¶
type HistoryUsecase struct {
// contains filtered or unexported fields
}
RoleUsecase provides bussiness logic for account access
func NewUsecase ¶
func NewUsecase(repo historylog.Repository) *HistoryUsecase
NewUsecase object controller
func (*HistoryUsecase) Count ¶
func (a *HistoryUsecase) Count(ctx context.Context, filter *historylog.Filter) (int64, error)
Count of roles by filter
func (*HistoryUsecase) FetchList ¶
func (a *HistoryUsecase) FetchList(ctx context.Context, filter *historylog.Filter, order *historylog.Order, pagination *repository.Pagination) ([]*model.HistoryAction, error)
FetchList of roles by filter
Click to show internal directories.
Click to hide internal directories.