Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(e *echo.Echo, c classusecase.ClassUsecase)
Types ¶
type ClassHTTPHandler ¶
type ClassHTTPHandler struct {
ClassUsecase classusecase.ClassUsecase
}
func (*ClassHTTPHandler) HandleFetchAllClasses ¶
func (h *ClassHTTPHandler) HandleFetchAllClasses(c echo.Context) error
func (*ClassHTTPHandler) HandleFetchAllSessions ¶
func (h *ClassHTTPHandler) HandleFetchAllSessions(c echo.Context) error
type ResponseError ¶
type ResponseError struct {
Message string `json:"error"`
}
ResponseError wraps json error response
Click to show internal directories.
Click to hide internal directories.