notification

package
v0.0.0-...-b3f3fbb Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2015 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package notification provides notification (or callback) related functionality

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidNotificationVersion = errors.New("invalid notification version")
)

Functions

This section is empty.

Types

type NewNotificationFunc

type NewNotificationFunc func(encPaymentID payment.PaymentID, p *payment.Payment) (Notification, error)

func NotificationByVersion

func NotificationByVersion(ver string) (NewNotificationFunc, error)

type Notification

type Notification interface {
	service.Signable
	SetTransactions(payment.PaymentTransactionList)
	Sign(time.Time, string, []byte) error
	Reader() io.ReadCloser
	Identification() string
}

Directories

Path Synopsis
Package notification provides the Notification type for notifications in the version: 2.x
Package notification provides the Notification type for notifications in the version: 2.x

Jump to

Keyboard shortcuts

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