ctms

package
v0.0.0-...-cbf5b65 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 3 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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