service

package
v0.0.0-...-8674a3e Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackToHome

func BackToHome(c echo.Context) error

func GetUserSessionID

func GetUserSessionID(c echo.Context) (string, error)

func Logout

func Logout(c echo.Context) error

Types

type CommonService

type CommonService struct {
	// contains filtered or unexported fields
}

func NewCommonService

func NewCommonService(app *app.WeebinarApp) *CommonService

func (*CommonService) IndexHandler

func (s *CommonService) IndexHandler(c echo.Context) error

func (*CommonService) SignOutHandler

func (s *CommonService) SignOutHandler(c echo.Context) error

func (*CommonService) StudentSignInCallbackHandler

func (s *CommonService) StudentSignInCallbackHandler(c echo.Context) error

func (*CommonService) StudentSignInHandler

func (s *CommonService) StudentSignInHandler(c echo.Context) error

func (*CommonService) TeacherSignInCallbackHandler

func (s *CommonService) TeacherSignInCallbackHandler(c echo.Context) error

func (*CommonService) TeacherSignInHandler

func (s *CommonService) TeacherSignInHandler(c echo.Context) error

type Services

type Services struct {
	*CommonService
	*TeacherService
	*StudentService
}

func GetServices

func GetServices(app *app.WeebinarApp) *Services

type StudentService

type StudentService struct {
	// contains filtered or unexported fields
}

func NewStudentService

func NewStudentService(app *app.WeebinarApp) *StudentService

func (*StudentService) CancelEnrollWebinarHandler

func (s *StudentService) CancelEnrollWebinarHandler(c echo.Context) error

func (*StudentService) EnrollWebinarHandler

func (s *StudentService) EnrollWebinarHandler(c echo.Context) error

func (*StudentService) HomeStudentPageHandler

func (s *StudentService) HomeStudentPageHandler(c echo.Context) error

func (*StudentService) ProfileStudentPageHandler

func (s *StudentService) ProfileStudentPageHandler(c echo.Context) error

func (*StudentService) RegisteredWebinarHandler

func (s *StudentService) RegisteredWebinarHandler(c echo.Context) error

func (*StudentService) SearchWebinarHandler

func (s *StudentService) SearchWebinarHandler(c echo.Context) error

func (*StudentService) StudentWebinarDetailPageHandler

func (s *StudentService) StudentWebinarDetailPageHandler(c echo.Context) error

type TeacherService

type TeacherService struct {
	// contains filtered or unexported fields
}

func NewTeacherService

func NewTeacherService(app *app.WeebinarApp) *TeacherService

func (*TeacherService) ApproveStudentHandler

func (s *TeacherService) ApproveStudentHandler(c echo.Context) error

func (*TeacherService) CreateWebinarPageHandler

func (s *TeacherService) CreateWebinarPageHandler(c echo.Context) error

func (*TeacherService) CreateWebinarPostHandler

func (s *TeacherService) CreateWebinarPostHandler(c echo.Context) error

func (*TeacherService) DeleteWebinarHandler

func (s *TeacherService) DeleteWebinarHandler(c echo.Context) error

func (*TeacherService) HomeTeacherPageHandler

func (s *TeacherService) HomeTeacherPageHandler(c echo.Context) error

func (*TeacherService) ProfileTeacherPageHandler

func (s *TeacherService) ProfileTeacherPageHandler(c echo.Context) error

func (*TeacherService) UpdateWebinarHandler

func (s *TeacherService) UpdateWebinarHandler(c echo.Context) error

func (*TeacherService) WebinarDetailPageHandler

func (s *TeacherService) WebinarDetailPageHandler(c echo.Context) error

Jump to

Keyboard shortcuts

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