Documentation ¶
Index ¶
- type Notify
- func (n *Notify) List(ctx context.Context) ([]types.Notification, 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) RecordInfo ¶
Click to show internal directories.
Click to hide internal directories.