push

package
v0.44.12 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

(Web)Push notifications and subscriptions routes and controllers logic package for the backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router() chi.Router

func SendNotificationToDevices

func SendNotificationToDevices(opts *NotificationOpts)

Types

type NotificationOpts added in v0.43.0

type NotificationOpts struct {
	Receiver string
	Devices  *[]models.Device
	Body     *[]byte
	Logger   *common.Logger
}

Jump to

Keyboard shortcuts

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