Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inport ¶
type Inport interface {
Execute(ctx context.Context, req InportRequest) (*InportResponse, error)
}
Inport of ShowAuditRoom
func NewUsecase ¶
NewUsecase is constructor for create default implementation of usecase ShowAuditRoom
type InportRequest ¶
type InportRequest struct {
AuditID uint `json:"audit_id" uri:"audit_id" binding:"required"`
}
InportRequest is request payload to run the usecase ShowAuditRoom
type InportResponse ¶
type InportResponse struct {
Rooms []RoomResponse `json:"rooms"` //
}
InportResponse is response payload after running the usecase ShowAuditRoom
type Outport ¶
type Outport interface { repository.WithoutTransactionDB repository.FindRoomByAuditIDRepo }
Outport of ShowAuditRoom
type RoomResponse ¶
Click to show internal directories.
Click to hide internal directories.