pusher

package
v0.0.0-...-80b2b3e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailPusher

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

func NewEmailPusher

func NewEmailPusher(mail mailer.Mail, service services.Provider) *EmailPusher

func (EmailPusher) Push

func (p EmailPusher) Push(event wsmodels.EventType, data interface{}) (err error)

type WSPusher

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

func NewWSPusher

func NewWSPusher(ws *ws.Hub) *WSPusher

func (WSPusher) Push

func (p WSPusher) Push(event wsmodels.EventType, data interface{}) (err error)

Jump to

Keyboard shortcuts

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