notifications

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package notifications provides primitives to initialise the notification channel.

Index

Constants

This section is empty.

Variables

View Source
var NotificationChannel chan Notification

Functions

func Init

func Init()

Init initialises the notification channel which can be used to push notifications to the user.

Types

type Notification

type Notification struct {
	Title   string
	Content string
}

Notification struct

Jump to

Keyboard shortcuts

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