Documentation ¶
Index ¶
- type Notify
- func (n *Notify) CommitSyncedEvent(ctx context.Context, deviceID string, sequence int64) error
- func (n *Notify) GetLatestSequence(ctx context.Context) (int64, error)
- func (n *Notify) ListNotifications(ctx context.Context) ([]types.Notification, error)
- func (n *Notify) ListUnSyncedEvent(ctx context.Context, sequence int64) ([]types.Event, error)
- func (n *Notify) MarkRead(ctx context.Context, nid string) error
- func (n *Notify) RecordInfo(ctx context.Context, title, message, source string) error
- func (n *Notify) RecordWarn(ctx context.Context, title, message, source string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notify ¶
type Notify struct {
// contains filtered or unexported fields
}
func NewNotify ¶
func NewNotify(s metastore.NotificationRecorder) *Notify
func (*Notify) CommitSyncedEvent ¶
func (*Notify) GetLatestSequence ¶
func (*Notify) ListNotifications ¶
func (*Notify) ListUnSyncedEvent ¶
func (*Notify) RecordInfo ¶
Click to show internal directories.
Click to hide internal directories.