handler

package
v0.0.0-...-c61f402 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AuthHandler

type AuthHandler struct {
	pb.UnimplementedAuthServiceServer
	TokenMiddleware *middleware.TokenMiddleware
	UserUseCase     usecase.IUserUseCase
}

func (*AuthHandler) Login

type UserHandler

type UserHandler struct {
	pb.UnimplementedUserServiceServer
	UserUseCase     usecase.IUserUseCase
	TokenMiddleware *middleware.TokenMiddleware
}

func (*UserHandler) Create

func (*UserHandler) Get

func (*UserHandler) HashPassword

func (u *UserHandler) HashPassword(password string) (string, error)

Jump to

Keyboard shortcuts

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