Documentation
¶
Index ¶
- Variables
- type AuthService
- func (s *AuthService) Identity(ctx context.Context, in *v1.IdentityRequest) (*v1.IdentityReply, error)
- func (s *AuthService) RefreshToken(ctx context.Context, in *v1.RefreshTokenRequest) (*v1.RefreshTokenReply, error)
- func (s *AuthService) SignIn(ctx context.Context, in *v1.SignInRequest) (*v1.SignInReply, error)
- func (s *AuthService) SignUp(ctx context.Context, in *v1.SignUpRequest) (*v1.SignUpReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAuthService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct { v1.UnimplementedAuthServer // contains filtered or unexported fields }
AuthService is an auth service.
func NewAuthService ¶
func NewAuthService(uc *biz.AuthUsecase) *AuthService
NewAuthService new an auth service.
func (*AuthService) Identity ¶
func (s *AuthService) Identity(ctx context.Context, in *v1.IdentityRequest) (*v1.IdentityReply, error)
Identity implements auth.Identity.
func (*AuthService) RefreshToken ¶
func (s *AuthService) RefreshToken(ctx context.Context, in *v1.RefreshTokenRequest) (*v1.RefreshTokenReply, error)
RefreshToken implements auth.RefreshToken.
func (*AuthService) SignIn ¶
func (s *AuthService) SignIn(ctx context.Context, in *v1.SignInRequest) (*v1.SignInReply, error)
SignIn implements auth.SignIn.
func (*AuthService) SignUp ¶
func (s *AuthService) SignUp(ctx context.Context, in *v1.SignUpRequest) (*v1.SignUpReply, error)
SignUp implements auth.SignUp.
Click to show internal directories.
Click to hide internal directories.