controller

package
v0.0.0-...-89144a2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfessorController

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

func NewProfessorController

func NewProfessorController(profSvc contracts.ProfessorService, reviewSvc review.ReviewService, validator *validator.Validate, mdlwr *middleware.Middleware) *ProfessorController

func (*ProfessorController) CreateReview

func (c *ProfessorController) CreateReview(ectx echo.Context) error

func (*ProfessorController) DeleteReview

func (c *ProfessorController) DeleteReview(ectx echo.Context) error

func (*ProfessorController) FetchAll

func (c *ProfessorController) FetchAll(ectx echo.Context) error

func (*ProfessorController) FetchByID

func (c *ProfessorController) FetchByID(ectx echo.Context) error

func (*ProfessorController) FetchReviews

func (c *ProfessorController) FetchReviews(ectx echo.Context) error

func (*ProfessorController) Mount

func (c *ProfessorController) Mount(r *echo.Group)

func (*ProfessorController) UpdateReview

func (c *ProfessorController) UpdateReview(ectx echo.Context) error

Jump to

Keyboard shortcuts

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