endpoints

package
v0.0.0-...-b35a4b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL