Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Implementation ¶
type Implementation struct { desc.UnimplementedAuthServer // contains filtered or unexported fields }
func NewService ¶
func NewService( secretStorage secretStorage.SecretStorage, userService userService.Service, tokenMaker token.Maker, authorizer authorization.Authorizer, validator validation.Validator, ) *Implementation
func (*Implementation) Login ¶
func (i *Implementation) Login(ctx context.Context, req *desc.LoginRequest) (*desc.LoginResponse, error)
func (*Implementation) SignUp ¶
func (i *Implementation) SignUp(ctx context.Context, req *desc.SignUpRequest) (*desc.SignUpResponse, error)
Click to show internal directories.
Click to hide internal directories.