handler

package
v0.0.0-...-2bc4f80 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompanyModelToResponse

func CompanyModelToResponse(company model.Company) *userProto.Company

Types

type UserServer

type UserServer struct {
	userProto.UnimplementedUserServiceServer
}

func (*UserServer) CheckMobile

func (s *UserServer) CheckMobile(ctx context.Context, req *userProto.CheckMobileRequest) (*userProto.CheckMobileResponse, error)

func (*UserServer) GetAllCompany

func (s *UserServer) GetAllCompany(ctx context.Context, req *empty.Empty) (*userProto.GetAllCompanyResponse, error)

func (*UserServer) GetCompany

func (s *UserServer) GetCompany(ctx context.Context, req *userProto.GetCompanyRequest) (*userProto.GetCompanyResponse, error)

func (*UserServer) GetUser

func (s *UserServer) GetUser(ctx context.Context, req *userProto.GetUserRequest) (*userProto.GetUserResponse, error)

func (*UserServer) LoginByPassword

func (s *UserServer) LoginByPassword(ctx context.Context, req *userProto.LoginByPasswordRequest) (*userProto.LoginResponse, error)

func (*UserServer) LoginBySMS

func (s *UserServer) LoginBySMS(ctx context.Context, req *userProto.LoginBySMSRequest) (*userProto.LoginResponse, error)

func (*UserServer) Register

func (s *UserServer) Register(ctx context.Context, req *userProto.RegisterRequest) (*userProto.RegisterResponse, error)

func (*UserServer) ResetPassword

func (s *UserServer) ResetPassword(ctx context.Context, req *userProto.ResetPasswordRequest) (*empty.Empty, error)

func (*UserServer) UpdateUser

func (s *UserServer) UpdateUser(ctx context.Context, req *userProto.UpdateUserRequest) (*empty.Empty, error)

func (*UserServer) UploadFace

func (s *UserServer) UploadFace(ctx context.Context, req *userProto.UploadFaceRequest) (*empty.Empty, error)

Jump to

Keyboard shortcuts

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