controllers

package
v0.0.0-...-6a216a3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountControllerInterface

type AccountControllerInterface interface {
	PasswordConfirm(c echo.Context) error
	ResetRequest(c echo.Context) error
	EmailConfirm(c echo.Context) error
	GetProfile(c echo.Context) error
	Routes(g *echo.Group)
}

AccountControllerInterface ...

func NewAccountController

func NewAccountController(userSrv services.UserService) AccountControllerInterface

NewAccountController returns a new Service instance

type AuthControllerInterface

type AuthControllerInterface interface {
	Routes(g *echo.Group)
	TokenHandler(c echo.Context) error
}

AuthControllerInterface ...

func NewAuthController

func NewAuthController(authSrv services.AuthService) AuthControllerInterface

NewAuthController returns a new Service instance

type HealthControllerInterface

type HealthControllerInterface interface {
	Routes(g *echo.Group)
	LiveCheck(c echo.Context) error
	HealthCheck(c echo.Context) error
}

HealthControllerInterface ...

func NewHealthController

func NewHealthController(statsSrv services.StatsService) HealthControllerInterface

NewHealthController returns a controller

type RegisterControllerInterface

type RegisterControllerInterface interface {
	User(c echo.Context) error
	Routes(g *echo.Group)
}

RegisterControllerInterface ...

func NewRegisterController

func NewRegisterController(userSrv services.UserService) RegisterControllerInterface

NewRegisterController returns a new Service instance

type UserControllerInterface

type UserControllerInterface interface {
	View(c echo.Context) error
	List(c echo.Context) error
	Create(c echo.Context) error
	Update(c echo.Context) error
	Delete(c echo.Context) error
	Routes(g *echo.Group)
}

UserControllerInterface ...

func NewUserController

func NewUserController(service services.UserService) UserControllerInterface

NewUserController ...

type WorkerControllerInterface

type WorkerControllerInterface interface {
	Routes(g *echo.Group)
	ConfirmEmail(c echo.Context) error
	UserPasswordReset(c echo.Context) error
	UserProfileUpdated(c echo.Context) error
	UserPasswordChanged(c echo.Context) error
}

WorkerControllerInterface ...

func NewWorkerController

func NewWorkerController(userSrv services.UserService, queueSrv services.QueueService, emailSrv services.EmailService) WorkerControllerInterface

NewWorkerController returns a controller

Jump to

Keyboard shortcuts

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