pushnotifications

package
v0.0.0-...-d9702d8 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delivered

func Delivered(f func(DeliveredNotification)) http.Handler

func Failed

func Failed(f func(FailedNotification)) http.Handler

func Received

func Received(f func(ReceivedNotification)) http.Handler

Types

type DeliveredNotification

type DeliveredNotification struct {
	Id         string
	MessageId  string
	AccountId  string
	OccurredAt time.Time
}

type FailedNotification

type FailedNotification struct {
	Id         string
	MessageId  string
	AccountId  string
	OccurredAt time.Time
}

type ReceivedNotification

type ReceivedNotification struct {
	Id          string
	MessageId   string
	AccountId   string
	MessageText string
	From        string
	To          string
}

Jump to

Keyboard shortcuts

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