Documentation
¶
Index ¶
- func NewCommonUseCase(cfg *configs.Configs, facebookUS facebook.UseCase, ctmsUC ctms.UseCase, ...) common.UseCase
- type CommonUS
- func (us *CommonUS) AddCtmsTimetableService(ctx context.Context, id string) error
- func (us *CommonUS) AddFithouCrawlService(ctx context.Context, id string) error
- func (us *CommonUS) CancelGetNotificationOfExamSchedule(ctx context.Context, id string) error
- func (us *CommonUS) ChatScript(ctx context.Context, id string, msg string)
- func (us *CommonUS) GetNotificationOfExamSchedule(ctx context.Context, id string) error
- func (us *CommonUS) HandleFacebookWebhook(ctx context.Context, data *types.FacebookWebhookRequest) error
- func (us *CommonUS) RemoveCtmsTimetableService(ctx context.Context, id string) error
- func (us *CommonUS) RemoveFithouCrawlService(ctx context.Context, id string) error
- func (us *CommonUS) RemoveUser(ctx context.Context, id string) error
- func (us *CommonUS) SendLoginCtmsButton(ctx context.Context, id string) error
- func (us *CommonUS) VerifyFacebookWebhook(ctx context.Context, token, challenge string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommonUS ¶
type CommonUS struct {
// contains filtered or unexported fields
}
func (*CommonUS) AddCtmsTimetableService ¶
func (*CommonUS) AddFithouCrawlService ¶
func (*CommonUS) CancelGetNotificationOfExamSchedule ¶
func (*CommonUS) ChatScript ¶
func (*CommonUS) GetNotificationOfExamSchedule ¶
func (*CommonUS) HandleFacebookWebhook ¶
func (*CommonUS) RemoveCtmsTimetableService ¶
func (*CommonUS) RemoveFithouCrawlService ¶
func (*CommonUS) SendLoginCtmsButton ¶
Click to show internal directories.
Click to hide internal directories.