grpc_repositories

package
v0.0.0-...-31ddaea Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationRepository

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

func NewNotificationRepository

func NewNotificationRepository(con *grpc.ClientConn) NotificationRepository

func (*NotificationRepository) SendNotification

func (u *NotificationRepository) SendNotification(ctx context.Context, payload entities.NotificationSends) error

type UserRepository

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

func NewUserRepository

func NewUserRepository(con *grpc.ClientConn) UserRepository

func (*UserRepository) CreateUser

func (u *UserRepository) CreateUser(ctx context.Context, payload entities.User) (*entities.User, error)

func (*UserRepository) UpdateEmailVerifiedUser

func (u *UserRepository) UpdateEmailVerifiedUser(ctx context.Context, payload entities.User) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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