handlers

package
v0.0.0-...-04c0be3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthHandler

func NewAuthHandler(router fiber.Router, service models.AuthService)

func NewCharacterHandler

func NewCharacterHandler(router fiber.Router, repository models.CharacterRepository)

func NewDailyQuestHandler

func NewDailyQuestHandler(router fiber.Router, repository models.DailyQuestRepository)

func NewItemHandler

func NewItemHandler(router fiber.Router, repository models.ItemRepository)

func NewQuizHandler

func NewQuizHandler(router fiber.Router, repository models.QuizRepository)

func NewRewardHandler

func NewRewardHandler(router fiber.Router, repository models.RewardRepository)

func NewTaskHandler

func NewTaskHandler(router fiber.Router, repository models.TaskRepository)

func NewUserKidHandler

func NewUserKidHandler(router fiber.Router, repository models.UserKidRepository)

Types

type AuthHandler

type AuthHandler struct {
	// contains filtered or unexported fields
}

func (*AuthHandler) Login

func (h *AuthHandler) Login(ctx *fiber.Ctx) error

func (*AuthHandler) Register

func (h *AuthHandler) Register(ctx *fiber.Ctx) error

type CharacterHandler

type CharacterHandler struct {
	// contains filtered or unexported fields
}

func (*CharacterHandler) CreateOne

func (h *CharacterHandler) CreateOne(ctx *fiber.Ctx) error

func (*CharacterHandler) DeleteOne

func (h *CharacterHandler) DeleteOne(ctx *fiber.Ctx) error

func (*CharacterHandler) GetMany

func (h *CharacterHandler) GetMany(ctx *fiber.Ctx) error

func (*CharacterHandler) GetOne

func (h *CharacterHandler) GetOne(ctx *fiber.Ctx) error

func (*CharacterHandler) UpdateOne

func (h *CharacterHandler) UpdateOne(ctx *fiber.Ctx) error

type DailyQuestHandler

type DailyQuestHandler struct {
	// contains filtered or unexported fields
}

func (*DailyQuestHandler) CreateOne

func (h *DailyQuestHandler) CreateOne(ctx *fiber.Ctx) error

func (*DailyQuestHandler) DeleteOne

func (h *DailyQuestHandler) DeleteOne(ctx *fiber.Ctx) error

func (*DailyQuestHandler) GetByDate

func (h *DailyQuestHandler) GetByDate(ctx *fiber.Ctx) error

func (*DailyQuestHandler) GetMany

func (h *DailyQuestHandler) GetMany(ctx *fiber.Ctx) error

func (*DailyQuestHandler) GetOne

func (h *DailyQuestHandler) GetOne(ctx *fiber.Ctx) error

func (*DailyQuestHandler) UpdateOne

func (h *DailyQuestHandler) UpdateOne(ctx *fiber.Ctx) error

type ItemHandler

type ItemHandler struct {
	// contains filtered or unexported fields
}

func (*ItemHandler) CreateOne

func (h *ItemHandler) CreateOne(ctx *fiber.Ctx) error

func (*ItemHandler) GetMany

func (h *ItemHandler) GetMany(ctx *fiber.Ctx) error

func (*ItemHandler) GetOne

func (h *ItemHandler) GetOne(ctx *fiber.Ctx) error

func (*ItemHandler) UpdateOne

func (h *ItemHandler) UpdateOne(ctx *fiber.Ctx) error

type QuizHandler

type QuizHandler struct {
	// contains filtered or unexported fields
}

func (*QuizHandler) CreateOne

func (h *QuizHandler) CreateOne(ctx *fiber.Ctx) error

func (*QuizHandler) DeleteOne

func (h *QuizHandler) DeleteOne(ctx *fiber.Ctx) error

func (*QuizHandler) GetMany

func (h *QuizHandler) GetMany(ctx *fiber.Ctx) error

func (*QuizHandler) GetOne

func (h *QuizHandler) GetOne(ctx *fiber.Ctx) error

func (*QuizHandler) UpdateOne

func (h *QuizHandler) UpdateOne(ctx *fiber.Ctx) error

type RewardHandler

type RewardHandler struct {
	// contains filtered or unexported fields
}

func (*RewardHandler) CreateOne

func (h *RewardHandler) CreateOne(ctx *fiber.Ctx) error

func (*RewardHandler) DeleteOne

func (h *RewardHandler) DeleteOne(ctx *fiber.Ctx) error

func (*RewardHandler) GetMany

func (h *RewardHandler) GetMany(ctx *fiber.Ctx) error

func (*RewardHandler) GetOne

func (h *RewardHandler) GetOne(ctx *fiber.Ctx) error

func (*RewardHandler) UpdateOne

func (h *RewardHandler) UpdateOne(ctx *fiber.Ctx) error

type TaskHandler

type TaskHandler struct {
	// contains filtered or unexported fields
}

func (*TaskHandler) CreateOne

func (h *TaskHandler) CreateOne(ctx *fiber.Ctx) error

func (*TaskHandler) DeleteOne

func (h *TaskHandler) DeleteOne(ctx *fiber.Ctx) error

func (*TaskHandler) GetMany

func (h *TaskHandler) GetMany(ctx *fiber.Ctx) error

func (*TaskHandler) GetOne

func (h *TaskHandler) GetOne(ctx *fiber.Ctx) error

func (*TaskHandler) UpdateOne

func (h *TaskHandler) UpdateOne(ctx *fiber.Ctx) error

type UserKidHandler

type UserKidHandler struct {
	// contains filtered or unexported fields
}

func (*UserKidHandler) CreateOne

func (h *UserKidHandler) CreateOne(ctx *fiber.Ctx) error

func (*UserKidHandler) DeleteOne

func (h *UserKidHandler) DeleteOne(ctx *fiber.Ctx) error

func (*UserKidHandler) GetAllParentKids

func (h *UserKidHandler) GetAllParentKids(ctx *fiber.Ctx) error

func (*UserKidHandler) GetOne

func (h *UserKidHandler) GetOne(ctx *fiber.Ctx) error

func (*UserKidHandler) UpdateOne

func (h *UserKidHandler) UpdateOne(ctx *fiber.Ctx) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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