qnotify

package
v0.1.152 Latest Latest
Warning

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

Go to latest
Published: May 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromToken

func FromToken(token string) qdata.NotificationConfig

func NewConfig

func NewConfig() qdata.NotificationConfig

func NewToken

func NewToken(tokenId string, storeNotifier qdata.StoreNotifier, callback qdata.NotificationCallback) qdata.NotificationToken

Types

type Callback

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

func (*Callback) Fn

func (c *Callback) Fn(ctx context.Context, n qdata.Notification)

func (*Callback) Id

func (c *Callback) Id() string

type Token

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

func (*Token) Id

func (t *Token) Id() string

func (*Token) Unbind

func (t *Token) Unbind(ctx context.Context)

Jump to

Keyboard shortcuts

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