service

package
v0.7.11 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResetPasswordRespSvrErr = &pb.ResetPasswordResponse{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)

Jump to

Keyboard shortcuts

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