service

package
v0.0.0-...-4c0fd1a Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

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