notify

package
v0.5.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 (*Notify) List

func (n *Notify) List(ctx context.Context) ([]types.Notification, error)

func (*Notify) MarkRead

func (n *Notify) MarkRead(ctx context.Context, nid string) error

func (*Notify) RecordInfo

func (n *Notify) RecordInfo(ctx context.Context, title, message, source string) error

func (*Notify) RecordWarn

func (n *Notify) RecordWarn(ctx context.Context, title, message, source string) error

Jump to

Keyboard shortcuts

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