package web

import "github.com/go-arrower/arrower/contexts/auth/internal/interfaces/web"

Index

Types

type SettingsController

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

func NewSettingsController

func NewSettingsController(queries *models.Queries) *SettingsController

func (SettingsController) List

func (sc SettingsController) List() func(echo.Context) error

type SuperuserController

type SuperuserController struct {
	Queries *models.Queries
}

func (SuperuserController) AdminLeaveUser

func (cont SuperuserController) AdminLeaveUser() echo.HandlerFunc

func (SuperuserController) AdminLoginAsUser

func (cont SuperuserController) AdminLoginAsUser() echo.HandlerFunc

type UserController

type UserController struct {
	Queries *models.Queries
	// contains filtered or unexported fields
}

func NewUserController

func NewUserController(app application.UserApplication, routes *echo.Group, secret []byte) UserController

func (UserController) BlockUser

func (uc UserController) BlockUser()

func (UserController) Create

func (uc UserController) Create() func(echo.Context) error

func (UserController) DestroySession

func (uc UserController) DestroySession(queries *models.Queries) func(echo.Context) error

func (UserController) List

func (uc UserController) List() func(echo.Context) error

func (UserController) Login

func (uc UserController) Login() func(echo.Context) error

func (UserController) Logout

func (uc UserController) Logout() func(echo.Context) error

func (UserController) New

func (uc UserController) New() func(echo.Context) error

func (UserController) Profile

func (uc UserController) Profile() func(echo.Context) error

func (UserController) Register

func (uc UserController) Register() func(echo.Context) error

func (UserController) Show

func (uc UserController) Show() func(echo.Context) error

func (UserController) Store

func (uc UserController) Store() func(echo.Context) error

func (UserController) UnBlockUser

func (uc UserController) UnBlockUser()

func (UserController) Verify

func (uc UserController) Verify() func(echo.Context) error

Source Files

setting.controller.go superuser.controller.go user.controller.go

Version
v0.0.0-20250311203644-ab26c1152cb4 (latest)
Published
Mar 11, 2025
Platform
linux/amd64
Imports
13 packages
Last checked
1 week ago

Tools for package owners.