chroma / go /coordinator /internal /notification /notification_store.go
badalsahani's picture
feat: chroma initial deploy
287a0bc
raw
history blame contribute delete
479 Bytes
package notification
import (
"context"
"github.com/chroma/chroma-coordinator/internal/model"
)
type NotificationStore interface {
GetAllPendingNotifications(ctx context.Context) (map[string][]model.Notification, error)
GetNotifications(ctx context.Context, collecitonID string) ([]model.Notification, error)
AddNotification(ctx context.Context, notification model.Notification) error
RemoveNotifications(ctx context.Context, notifications []model.Notification) error
}