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