Documentation ¶
Index ¶
- func NewGRPCServer(cfg config.Config) (*grpc.Server, error)
- func NewHTTPServer(ctx context.Context, cfg config.Config) (*http.Server, error)
- type UserServer
- func (s *UserServer) ConfirmEmail(ctx context.Context, req *userv1.ConfirmEmailRequest) (*userv1.ConfirmEmailResponse, error)
- func (s *UserServer) GetMyPersonalInfo(ctx context.Context, req *userv1.GetMyPersonalInfoRequest) (*userv1.GetMyPersonalInfoResponse, error)
- func (s *UserServer) RefreshToken(ctx context.Context, req *userv1.RefreshTokenRequest) (*userv1.RefreshTokenResponse, error)
- func (s *UserServer) Register(ctx context.Context, req *userv1.RegisterRequest) (*userv1.RegisterResponse, error)
- func (s *UserServer) RequestSmsOtp(ctx context.Context, req *userv1.RequestSmsOtpRequest) (*userv1.RequestSmsOtpResponse, error)
- func (s *UserServer) ResetPassword(ctx context.Context, req *userv1.ResetPasswordRequest) (*userv1.ResetPasswordResponse, error)
- func (s *UserServer) SignIn(ctx context.Context, req *userv1.SignInRequest) (*userv1.SignInResponse, error)
- func (s *UserServer) SignOut(ctx context.Context, req *userv1.SignOutRequest) (*userv1.SignOutResponse, error)
- func (s *UserServer) VerifySmsOtp(ctx context.Context, req *userv1.VerifySmsOtpRequest) (*userv1.VerifySmsOtpResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserServer ¶
type UserServer struct { userv1.UnimplementedUserServiceServer // contains filtered or unexported fields }
func NewUserServer ¶
func NewUserServer(cfg config.Config) (*UserServer, error)
func (*UserServer) ConfirmEmail ¶
func (s *UserServer) ConfirmEmail(ctx context.Context, req *userv1.ConfirmEmailRequest) (*userv1.ConfirmEmailResponse, error)
func (*UserServer) GetMyPersonalInfo ¶
func (s *UserServer) GetMyPersonalInfo(ctx context.Context, req *userv1.GetMyPersonalInfoRequest) (*userv1.GetMyPersonalInfoResponse, error)
func (*UserServer) RefreshToken ¶
func (s *UserServer) RefreshToken(ctx context.Context, req *userv1.RefreshTokenRequest) (*userv1.RefreshTokenResponse, error)
func (*UserServer) Register ¶
func (s *UserServer) Register(ctx context.Context, req *userv1.RegisterRequest) (*userv1.RegisterResponse, error)
func (*UserServer) RequestSmsOtp ¶
func (s *UserServer) RequestSmsOtp(ctx context.Context, req *userv1.RequestSmsOtpRequest) (*userv1.RequestSmsOtpResponse, error)
func (*UserServer) ResetPassword ¶
func (s *UserServer) ResetPassword(ctx context.Context, req *userv1.ResetPasswordRequest) (*userv1.ResetPasswordResponse, error)
func (*UserServer) SignIn ¶
func (s *UserServer) SignIn(ctx context.Context, req *userv1.SignInRequest) (*userv1.SignInResponse, error)
func (*UserServer) SignOut ¶
func (s *UserServer) SignOut(ctx context.Context, req *userv1.SignOutRequest) (*userv1.SignOutResponse, error)
func (*UserServer) VerifySmsOtp ¶
func (s *UserServer) VerifySmsOtp(ctx context.Context, req *userv1.VerifySmsOtpRequest) (*userv1.VerifySmsOtpResponse, error)
Click to show internal directories.
Click to hide internal directories.