Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers interface { LoginCtms() gin.HandlerFunc LogoutCtms() gin.HandlerFunc GetDailySchedule() gin.HandlerFunc GetExamSchedule() gin.HandlerFunc GetUpcomingExamSchedule() gin.HandlerFunc SendChangedExamScheduleAndNewExamScheduleToUser() gin.HandlerFunc }
type UseCase ¶
type UseCase interface { LoginCtms(ctx context.Context, user *types.LoginCtmsRequest) (*types.LoginCtmsResponse, error) LogoutCtms(ctx context.Context, cookie string) error GetDailySchedule(ctx context.Context, cookie string) ([]*types.DailySchedule, error) GetExamSchedule(ctx context.Context, cookie string) ([]types.ExamSchedule, error) GetUpcomingExamSchedule(ctx context.Context, user *types.LoginCtmsRequest) (types.GetUpcomingExamScheduleResponse, error) SendChangedExamScheduleAndNewExamScheduleToUser(ctx context.Context, user *types.LoginCtmsRequest, id string) error ForceLogout(ctx context.Context, subscribed_id string) error }
Click to show internal directories.
Click to hide internal directories.