Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiResponse ¶
type ApiResponse struct { Message string `json:"message"` Notification Notification `json:"notification,omitempty"` Error string `json:"error,omitempty"` }
ApiResponse is the format to response from report Api
type Notification ¶
type Notification struct { ValidList []string `json:"to,omitempty"` InvalidList []string `json:"discarded,omitempty"` }
Notification shows which emails was valid an invalid to send notification
type PingController ¶
type PingController struct{}
PingController basic controller to check the app connection
func (*PingController) GetPing ¶
func (r *PingController) GetPing(c *gin.Context)
type RecipeList ¶
type RecipeList struct {
EmailList []string `json:"email_list"`
}
RecipeList receives the information from the body for the request to create a report
type ReportController ¶
type ReportController struct { PickerUseCase application.IFilePickerUseCase ProcessUseCase application.IProcessTransactionsUseCase }
func (*ReportController) PostReport ¶
func (r *ReportController) PostReport(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.