handlers

package
v0.0.0-...-4d8054b Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArticleHandlers

type ArticleHandlers struct {
	Handler services.ArticleServices
}

func (*ArticleHandlers) CreateAnArticle

func (ah *ArticleHandlers) CreateAnArticle(c *gin.Context)

func (*ArticleHandlers) DeleteAnArticle

func (ah *ArticleHandlers) DeleteAnArticle(c *gin.Context)

func (*ArticleHandlers) GetAnArticle

func (ah *ArticleHandlers) GetAnArticle(c *gin.Context)

func (*ArticleHandlers) GetArticles

func (ah *ArticleHandlers) GetArticles(c *gin.Context)

func (*ArticleHandlers) UpdateAnArticle

func (ah *ArticleHandlers) UpdateAnArticle(c *gin.Context)

type BadgeCollectionHandlers

type BadgeCollectionHandlers struct {
	Handler services.BadgeCollectionServices
}

func (*BadgeCollectionHandlers) CreateABadgeCollection

func (bch *BadgeCollectionHandlers) CreateABadgeCollection(c *gin.Context)

func (*BadgeCollectionHandlers) DeleteABadgeCollection

func (bch *BadgeCollectionHandlers) DeleteABadgeCollection(c *gin.Context)

func (*BadgeCollectionHandlers) GetABadgeCollection

func (bch *BadgeCollectionHandlers) GetABadgeCollection(c *gin.Context)

func (*BadgeCollectionHandlers) GetBadgeCollections

func (bch *BadgeCollectionHandlers) GetBadgeCollections(c *gin.Context)

func (*BadgeCollectionHandlers) GetBadgeCollectionsByUserId

func (bch *BadgeCollectionHandlers) GetBadgeCollectionsByUserId(c *gin.Context)

func (*BadgeCollectionHandlers) GetCurrentUserBadgeCollections

func (bch *BadgeCollectionHandlers) GetCurrentUserBadgeCollections(c *gin.Context)

func (*BadgeCollectionHandlers) UpdateABadgeCollection

func (bch *BadgeCollectionHandlers) UpdateABadgeCollection(c *gin.Context)

type BadgeHandlers

type BadgeHandlers struct {
	Handler services.BadgeServices
}

func (*BadgeHandlers) CreateABadge

func (bh *BadgeHandlers) CreateABadge(c *gin.Context)

func (*BadgeHandlers) DeleteABadge

func (bh *BadgeHandlers) DeleteABadge(c *gin.Context)

func (*BadgeHandlers) GetABadge

func (bh *BadgeHandlers) GetABadge(c *gin.Context)

func (*BadgeHandlers) GetBadges

func (bh *BadgeHandlers) GetBadges(c *gin.Context)

func (*BadgeHandlers) UpdateABadge

func (bh *BadgeHandlers) UpdateABadge(c *gin.Context)

type DIYHandlers

type DIYHandlers struct {
	Handler services.DIYServices
}

func (*DIYHandlers) CreateADIY

func (dh *DIYHandlers) CreateADIY(c *gin.Context)

func (*DIYHandlers) DeleteADIY

func (dh *DIYHandlers) DeleteADIY(c *gin.Context)

func (*DIYHandlers) GetADIY

func (dh *DIYHandlers) GetADIY(c *gin.Context)

func (*DIYHandlers) GetDIYs

func (dh *DIYHandlers) GetDIYs(c *gin.Context)

func (*DIYHandlers) UpdateADIY

func (dh *DIYHandlers) UpdateADIY(c *gin.Context)

type DictionaryHandlers

type DictionaryHandlers struct {
	Handler services.DictionaryServices
}

func (*DictionaryHandlers) CreateADictionary

func (dh *DictionaryHandlers) CreateADictionary(c *gin.Context)

func (*DictionaryHandlers) DeleteADictionary

func (dh *DictionaryHandlers) DeleteADictionary(c *gin.Context)

func (*DictionaryHandlers) GetADictionary

func (dh *DictionaryHandlers) GetADictionary(c *gin.Context)

func (*DictionaryHandlers) GetDictionaries

func (dh *DictionaryHandlers) GetDictionaries(c *gin.Context)

func (*DictionaryHandlers) UpdateADictionary

func (dh *DictionaryHandlers) UpdateADictionary(c *gin.Context)

type ExchangedHandlers

type ExchangedHandlers struct {
	Handler services.ExchangedServices
}

func (*ExchangedHandlers) CreateAExchange

func (eh *ExchangedHandlers) CreateAExchange(c *gin.Context)

func (*ExchangedHandlers) DeleteAExchange

func (eh *ExchangedHandlers) DeleteAExchange(c *gin.Context)

func (*ExchangedHandlers) GetAExchange

func (eh *ExchangedHandlers) GetAExchange(c *gin.Context)

func (*ExchangedHandlers) GetCurrentUserExchangeds

func (eh *ExchangedHandlers) GetCurrentUserExchangeds(c *gin.Context)

func (*ExchangedHandlers) GetExchangedsByUserId

func (eh *ExchangedHandlers) GetExchangedsByUserId(c *gin.Context)

func (*ExchangedHandlers) GetExchanges

func (eh *ExchangedHandlers) GetExchanges(c *gin.Context)

func (*ExchangedHandlers) RefundAExchange

func (eh *ExchangedHandlers) RefundAExchange(c *gin.Context)

func (*ExchangedHandlers) UpdateAExchange

func (eh *ExchangedHandlers) UpdateAExchange(c *gin.Context)

type QRHandlers

type QRHandlers struct {
	Handler services.QRServices
}

func (*QRHandlers) CreateAQR

func (qrh *QRHandlers) CreateAQR(c *gin.Context)

func (*QRHandlers) DeleteAQR

func (qrh *QRHandlers) DeleteAQR(c *gin.Context)

func (*QRHandlers) GenerateQRCode

func (qrh *QRHandlers) GenerateQRCode(c *gin.Context)

func (*QRHandlers) GetAQR

func (qrh *QRHandlers) GetAQR(c *gin.Context)

func (*QRHandlers) GetQRs

func (qrh *QRHandlers) GetQRs(c *gin.Context)

func (*QRHandlers) ScanQR

func (qrh *QRHandlers) ScanQR(c *gin.Context)

func (*QRHandlers) UpdateAQR

func (qrh *QRHandlers) UpdateAQR(c *gin.Context)

type QuestionHandlers

type QuestionHandlers struct {
	Handler services.QuestionServices
}

func (*QuestionHandlers) CreateAQuestion

func (qh *QuestionHandlers) CreateAQuestion(c *gin.Context)

func (*QuestionHandlers) DeleteAQuestion

func (qh *QuestionHandlers) DeleteAQuestion(c *gin.Context)

func (*QuestionHandlers) GetAQuestion

func (qh *QuestionHandlers) GetAQuestion(c *gin.Context)

func (*QuestionHandlers) GetQuestions

func (qh *QuestionHandlers) GetQuestions(c *gin.Context)

func (*QuestionHandlers) UpdateAQuestion

func (qh *QuestionHandlers) UpdateAQuestion(c *gin.Context)

type QuizHandlers

type QuizHandlers struct {
	Handler services.QuizServices
}

func (*QuizHandlers) CreateAQuiz

func (qh *QuizHandlers) CreateAQuiz(c *gin.Context)

func (*QuizHandlers) DeleteAQuiz

func (qh *QuizHandlers) DeleteAQuiz(c *gin.Context)

func (*QuizHandlers) GetAQuiz

func (qh *QuizHandlers) GetAQuiz(c *gin.Context)

func (*QuizHandlers) GetQuizzes

func (qh *QuizHandlers) GetQuizzes(c *gin.Context)

func (*QuizHandlers) UpdateAQuiz

func (qh *QuizHandlers) UpdateAQuiz(c *gin.Context)

type QuizResultHandlers

type QuizResultHandlers struct {
	Handler services.QuizResultServices
}

func (*QuizResultHandlers) CreateAQuizResult

func (qrh *QuizResultHandlers) CreateAQuizResult(c *gin.Context)

func (*QuizResultHandlers) DeleteAQuizResult

func (qrh *QuizResultHandlers) DeleteAQuizResult(c *gin.Context)

func (*QuizResultHandlers) GetAQuizResult

func (qrh *QuizResultHandlers) GetAQuizResult(c *gin.Context)

func (*QuizResultHandlers) GetQuizResults

func (qrh *QuizResultHandlers) GetQuizResults(c *gin.Context)

func (*QuizResultHandlers) GetQuizResultsByUserId

func (qrh *QuizResultHandlers) GetQuizResultsByUserId(c *gin.Context)

func (*QuizResultHandlers) UpdateAQuizResult

func (qrh *QuizResultHandlers) UpdateAQuizResult(c *gin.Context)

type RewardHandlers

type RewardHandlers struct {
	Handler services.RewardServices
}

func (*RewardHandlers) CreateAReward

func (rh *RewardHandlers) CreateAReward(c *gin.Context)

func (*RewardHandlers) DeleteAReward

func (rh *RewardHandlers) DeleteAReward(c *gin.Context)

func (*RewardHandlers) GetAReward

func (rh *RewardHandlers) GetAReward(c *gin.Context)

func (*RewardHandlers) GetRewards

func (rh *RewardHandlers) GetRewards(c *gin.Context)

func (*RewardHandlers) GetUserRewards

func (rh *RewardHandlers) GetUserRewards(c *gin.Context)

func (*RewardHandlers) UpdateAReward

func (rh *RewardHandlers) UpdateAReward(c *gin.Context)

type SavedHandlers

type SavedHandlers struct {
	Handler services.SavedServices
}

func (*SavedHandlers) CreateASaved

func (sh *SavedHandlers) CreateASaved(c *gin.Context)

func (*SavedHandlers) DeleteASaved

func (sh *SavedHandlers) DeleteASaved(c *gin.Context)

func (*SavedHandlers) DeleteASavedByDictionaryId

func (sh *SavedHandlers) DeleteASavedByDictionaryId(c *gin.Context)

func (*SavedHandlers) GetASaved

func (sh *SavedHandlers) GetASaved(c *gin.Context)

func (*SavedHandlers) GetSaveds

func (sh *SavedHandlers) GetSaveds(c *gin.Context)

func (*SavedHandlers) GetSavedsByUserId

func (sh *SavedHandlers) GetSavedsByUserId(c *gin.Context)

func (*SavedHandlers) GetSavedsOfUser

func (sh *SavedHandlers) GetSavedsOfUser(c *gin.Context)

func (*SavedHandlers) UpdateASaved

func (sh *SavedHandlers) UpdateASaved(c *gin.Context)

type UserHandlers

type UserHandlers struct {
	Handler services.UserServices
}

func (*UserHandlers) CreateAUser

func (uh *UserHandlers) CreateAUser(c *gin.Context)

func (*UserHandlers) DeleteAUser

func (uh *UserHandlers) DeleteAUser(c *gin.Context)

func (*UserHandlers) GetAUser

func (uh *UserHandlers) GetAUser(c *gin.Context)

func (*UserHandlers) GetAUserById

func (uh *UserHandlers) GetAUserById(c *gin.Context)

func (*UserHandlers) GetUserBadges

func (uh *UserHandlers) GetUserBadges(c *gin.Context)

func (*UserHandlers) UpdateAUser

func (uh *UserHandlers) UpdateAUser(c *gin.Context)

func (*UserHandlers) UpdateCurrentUserPoint

func (uh *UserHandlers) UpdateCurrentUserPoint(c *gin.Context)

func (*UserHandlers) UserExchangeReward

func (uh *UserHandlers) UserExchangeReward(c *gin.Context)

Jump to

Keyboard shortcuts

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