Documentation ¶
Index ¶
- Variables
- type Service
- func (s *Service) DeleteUser(ctx context.Context, request *pb.DeleteUserRequest) (*pb.DeleteUserResponse, error)
- func (s *Service) Login(ctx context.Context, request *pb.LoginRequest) (*pb.LoginResponse, error)
- func (s *Service) Register(ctx context.Context, request *pb.RegisterRequest) (*pb.RegisterResponse, error)
- func (s *Service) ResetPassword(ctx context.Context, request *pb.ResetPasswordRequest) (*pb.ResetPasswordResponse, error)
- func (s *Service) SetUserAsManager(ctx context.Context, request *pb.SetUserAsManagerRequest) (*pb.SetUserAsManagerResponse, error)
- func (s *Service) UpdateInfo(ctx context.Context, request *pb.UpdateInfoRequest) (*pb.UpdateInfoResponse, error)
- func (s *Service) UpdatePassword(ctx context.Context, request *pb.UpdatePasswordRequest) (*pb.UpdatePasswordResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var LoginRespSvrErr = &pb.LoginResponse{Status: &pb.ResponseStatus{Code: core.ResponseStatusCodeServerError}}
View Source
var RegisterRespSvrErr = &pb.RegisterResponse{Status: &pb.ResponseStatus{Code: core.ResponseStatusCodeServerError}}
View Source
var ResetPasswordRespSvrErr = &pb.ResetPasswordResponse{Status: &pb.ResponseStatus{Code: core.ResponseStatusCodeServerError}}
View Source
var UpdateInfoRespSvrErr = &pb.UpdateInfoResponse{Status: &pb.ResponseStatus{Code: core.ResponseStatusCodeServerError}}
View Source
var UpdatePasswordRespSvrErr = &pb.UpdatePasswordResponse{Status: &pb.ResponseStatus{Code: core.ResponseStatusCodeServerError}}
Functions ¶
This section is empty.
Types ¶
type Service ¶ added in v0.7.11
type Service struct{}
func (*Service) DeleteUser ¶ added in v0.7.11
func (s *Service) DeleteUser(ctx context.Context, request *pb.DeleteUserRequest) (*pb.DeleteUserResponse, error)
func (*Service) Login ¶ added in v0.7.11
func (s *Service) Login(ctx context.Context, request *pb.LoginRequest) (*pb.LoginResponse, error)
func (*Service) Register ¶ added in v0.7.11
func (s *Service) Register(ctx context.Context, request *pb.RegisterRequest) (*pb.RegisterResponse, error)
func (*Service) ResetPassword ¶ added in v0.7.11
func (s *Service) ResetPassword(ctx context.Context, request *pb.ResetPasswordRequest) (*pb.ResetPasswordResponse, error)
func (*Service) SetUserAsManager ¶ added in v0.7.11
func (s *Service) SetUserAsManager(ctx context.Context, request *pb.SetUserAsManagerRequest) (*pb.SetUserAsManagerResponse, error)
func (*Service) UpdateInfo ¶ added in v0.7.11
func (s *Service) UpdateInfo(ctx context.Context, request *pb.UpdateInfoRequest) (*pb.UpdateInfoResponse, error)
func (*Service) UpdatePassword ¶ added in v0.7.11
func (s *Service) UpdatePassword(ctx context.Context, request *pb.UpdatePasswordRequest) (*pb.UpdatePasswordResponse, error)
Click to show internal directories.
Click to hide internal directories.