Documentation
¶
Index ¶
- type Server
- func (srv *Server) GetPassport(ctx context.Context, _ *emptypb.Empty) (*profile.Passport, error)
- func (srv *Server) SetAuthenticationCode(ctx context.Context, req *profile.SetAuthenticationCodeRequest) (*emptypb.Empty, error)
- func (srv *Server) SignIn(ctx context.Context, req *profile.SignInRequest) (*emptypb.Empty, error)
- func (srv *Server) SignUp(ctx context.Context, req *profile.SignUpRequest) (*profile.SignUpResponse, error)
- func (srv *Server) SubmitCode(ctx context.Context, req *profile.SubmitCodeRequest) (*profile.SubmitCodeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { profile.UnimplementedProfileServer // contains filtered or unexported fields }
func NewServer ¶
func NewServer( store storeInterface, auth authInterface, email emailInterface, bankAccount bank_account.BankAccountClient, ) *Server
func (*Server) GetPassport ¶
func (*Server) SetAuthenticationCode ¶
func (*Server) SignUp ¶
func (srv *Server) SignUp(ctx context.Context, req *profile.SignUpRequest) (*profile.SignUpResponse, error)
func (*Server) SubmitCode ¶
func (srv *Server) SubmitCode(ctx context.Context, req *profile.SubmitCodeRequest) (*profile.SubmitCodeResponse, error)
Click to show internal directories.
Click to hide internal directories.