Documentation ¶
Index ¶
- func BackToHome(c echo.Context) error
- func GetUserSessionID(c echo.Context) (string, error)
- func Logout(c echo.Context) error
- type CommonService
- func (s *CommonService) IndexHandler(c echo.Context) error
- func (s *CommonService) SignOutHandler(c echo.Context) error
- func (s *CommonService) StudentSignInCallbackHandler(c echo.Context) error
- func (s *CommonService) StudentSignInHandler(c echo.Context) error
- func (s *CommonService) TeacherSignInCallbackHandler(c echo.Context) error
- func (s *CommonService) TeacherSignInHandler(c echo.Context) error
- type Services
- type StudentService
- func (s *StudentService) CancelEnrollWebinarHandler(c echo.Context) error
- func (s *StudentService) EnrollWebinarHandler(c echo.Context) error
- func (s *StudentService) HomeStudentPageHandler(c echo.Context) error
- func (s *StudentService) ProfileStudentPageHandler(c echo.Context) error
- func (s *StudentService) RegisteredWebinarHandler(c echo.Context) error
- func (s *StudentService) SearchWebinarHandler(c echo.Context) error
- func (s *StudentService) StudentWebinarDetailPageHandler(c echo.Context) error
- type TeacherService
- func (s *TeacherService) ApproveStudentHandler(c echo.Context) error
- func (s *TeacherService) CreateWebinarPageHandler(c echo.Context) error
- func (s *TeacherService) CreateWebinarPostHandler(c echo.Context) error
- func (s *TeacherService) DeleteWebinarHandler(c echo.Context) error
- func (s *TeacherService) HomeTeacherPageHandler(c echo.Context) error
- func (s *TeacherService) ProfileTeacherPageHandler(c echo.Context) error
- func (s *TeacherService) UpdateWebinarHandler(c echo.Context) error
- func (s *TeacherService) WebinarDetailPageHandler(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackToHome ¶
func BackToHome(c echo.Context) error
func GetUserSessionID ¶
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
Click to show internal directories.
Click to hide internal directories.