Documentation
¶
Index ¶
- Constants
- Variables
- func CreateActivityRecord(activityRecordCmdRepo tkRepository.ActivityRecordCmdRepo, ...)
- func DeleteActivityRecord(activityRecordCmdRepo tkRepository.ActivityRecordCmdRepo, ...) error
- func ReadActivityRecords(activityRecordQueryRepo tkRepository.ActivityRecordQueryRepo, ...) (responseDto tkDto.ReadActivityRecordsResponse, err error)
Constants ¶
View Source
const (
ErrActivityRecordNotFound string = "ActivityRecordNotFound"
)
Variables ¶
View Source
var ActivityRecordsDefaultPagination = tkDto.Pagination{
PageNumber: 0,
ItemsPerPage: 10,
}
Functions ¶
func CreateActivityRecord ¶
func CreateActivityRecord( activityRecordCmdRepo tkRepository.ActivityRecordCmdRepo, createDto tkDto.CreateActivityRecord, )
CreateActivityRecord persists an activity record as a non-blocking side effect. Errors are logged but not returned to avoid failing the caller's primary operation.
func DeleteActivityRecord ¶
func DeleteActivityRecord( activityRecordCmdRepo tkRepository.ActivityRecordCmdRepo, deleteDto tkDto.DeleteActivityRecord, ) error
func ReadActivityRecords ¶
func ReadActivityRecords( activityRecordQueryRepo tkRepository.ActivityRecordQueryRepo, requestDto tkDto.ReadActivityRecordsRequest, ) (responseDto tkDto.ReadActivityRecordsResponse, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.