handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPHandler

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

func New

func New(authService auth.ServiceInterface, jwtObj *auth.JWTObj) HTTPHandler

func (*HTTPHandler) GetMe

func (h *HTTPHandler) GetMe(ctx *fiber.Ctx) error

func (*HTTPHandler) Healthcheck

func (h *HTTPHandler) Healthcheck(ctx *fiber.Ctx) error

func (*HTTPHandler) Login

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

func (*HTTPHandler) Register

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

type Response

type Response struct {
	Error bool        `json:"error"`
	Data  interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

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