Documentation ¶
Index ¶
- func NewCreateLessonHandler(s domain.ServiceInterface, opts ...kithttp.ServerOption) *kithttp.Server
- func NewDeleteLessonHandler(s domain.ServiceInterface, opts ...kithttp.ServerOption) *kithttp.Server
- func NewFindLessonHandler(s domain.ServiceInterface, opts ...kithttp.ServerOption) *kithttp.Server
- func NewListLessonHandler(s domain.ServiceInterface, opts ...kithttp.ServerOption) *kithttp.Server
- func NewUpdateLessonHandler(s domain.ServiceInterface, opts ...kithttp.ServerOption) *kithttp.Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateLessonHandler ¶
func NewCreateLessonHandler(s domain.ServiceInterface, opts ...kithttp.ServerOption) *kithttp.Server
NewCreateLessonHandler creates new lesson handler @Summary Create course @Description Create a new course @Tags course @Accept json @Produce json @Param course body createLessonRequest true "Add Course" @Success 200 {object} createLessonResponse @Failure 400 {object} error @Failure 404 {object} error @Failure 500 {object} error @Router /courses [post]
func NewDeleteLessonHandler ¶
func NewDeleteLessonHandler(s domain.ServiceInterface, opts ...kithttp.ServerOption) *kithttp.Server
func NewFindLessonHandler ¶
func NewFindLessonHandler(s domain.ServiceInterface, opts ...kithttp.ServerOption) *kithttp.Server
func NewListLessonHandler ¶
func NewListLessonHandler(s domain.ServiceInterface, opts ...kithttp.ServerOption) *kithttp.Server
func NewUpdateLessonHandler ¶
func NewUpdateLessonHandler(s domain.ServiceInterface, opts ...kithttp.ServerOption) *kithttp.Server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.