Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Message string `json:"error"`
}
type RestHandler ¶
type RestHandler interface { GetVideos(c *gin.Context) GetVideo(c *gin.Context) CreateVideo(c *gin.Context) UpdateVideo(c *gin.Context) DeleteVideo(c *gin.Context) }
func NewHandler ¶
func NewHandler(crud_video_uc crud_video.UseCase) RestHandler
type SuccessResponse ¶
type SuccessResponse struct {
Data interface{} `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.