handler

package
v0.0.0-...-68b623b Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHealthHandlers

func NewHealthHandlers() *healthHandlers

func NewQuestionHandlers

func NewQuestionHandlers(service service.QuestionService) *questionHandlers

func NewSurveyHandlers

func NewSurveyHandlers(service service.SurveyService) *surveyHandlers

func NewTraitHandlers

func NewTraitHandlers(service service.TraitService) *traitHandlers

Types

type HealthHandlers

type HealthHandlers interface {
	HealthCheck(c *fiber.Ctx) error
}

type QuestionHandlers

type QuestionHandlers interface {
	GetAll(c *fiber.Ctx) error
	Get(c *fiber.Ctx) error
	Add(c *fiber.Ctx) error
	Edit(c *fiber.Ctx) error
	Delete(c *fiber.Ctx) error
}

type SurveyHandlers

type SurveyHandlers interface {
	GetResults(c *fiber.Ctx) error
	FinishSurvey(c *fiber.Ctx) error
}

type TraitHandlers

type TraitHandlers interface {
	GetAll(c *fiber.Ctx) error
	Get(c *fiber.Ctx) error
	Add(c *fiber.Ctx) error
	Edit(c *fiber.Ctx) error
	Delete(c *fiber.Ctx) error
}

Jump to

Keyboard shortcuts

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