notification

package
v0.0.0-...-03efb0c Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationRepo

type NotificationRepo interface {
	NotificationRepoClient
}

type NotificationRepoClient

type NotificationRepoClient interface {
	SendNotification() error
}

To One Signal

type NotificationRepoCommand

type NotificationRepoCommand interface {
	MarkAsReadByID(
		ctx context.Context,
		notifID string,
	) error
}

type NotificationRepoQuery

type NotificationRepoQuery interface {
	GetListNotificationByUserID(
		ctx context.Context,
		userID string,
	) ([]string, error)
}

type PostgresNotificationRepository

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

func NewPostgresNotificationRepository

func NewPostgresNotificationRepository(
	postgresRepo *database.SqlRepository,
) *PostgresNotificationRepository

Jump to

Keyboard shortcuts

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