delivery

package
v0.0.0-...-1542b3d Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserGrpc

func NewUserGrpc(unaryRequest *interceptor.UnaryRequest) (delivery.UserGrpc, *grpc.ClientConn)

Types

type UserGrpcImpl

type UserGrpcImpl struct {
	// contains filtered or unexported fields
}

func (*UserGrpcImpl) AddRefreshToken

func (u *UserGrpcImpl) AddRefreshToken(ctx context.Context, data *pb.AddRefreshTokenReq) error

func (*UserGrpcImpl) Create

func (u *UserGrpcImpl) Create(ctx context.Context, data *pb.RegisterReq) error

func (*UserGrpcImpl) FindByEmail

func (u *UserGrpcImpl) FindByEmail(ctx context.Context, email string) (*pb.FindUserRes, error)

func (*UserGrpcImpl) FindByRefreshToken

func (u *UserGrpcImpl) FindByRefreshToken(ctx context.Context, data *pb.RefreshToken) (*pb.FindUserRes, error)

func (*UserGrpcImpl) SetNullRefreshToken

func (u *UserGrpcImpl) SetNullRefreshToken(ctx context.Context, refreshToken string) error

func (*UserGrpcImpl) Upsert

func (u *UserGrpcImpl) Upsert(ctx context.Context, data *pb.LoginWithGoogleReq) (*pb.User, error)

Jump to

Keyboard shortcuts

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