notifications

package
v0.4.3-p4 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serialize

func Serialize(i interface{}) []byte

Types

type ChatMessage added in v0.3.1

type ChatMessage struct {
	PeerId    string    `json:"peerId"`
	Subject   string    `json:"subject"`
	Message   string    `json:"message"`
	Timestamp time.Time `json:"timestamp"`
}

type CompletionNotification added in v0.2.2

type CompletionNotification struct {
	OrderId string `json:"orderId"`
}

type Data added in v0.3.1

type Data interface{}

type DisputeCloseNotification added in v0.3.0

type DisputeCloseNotification struct {
	OrderId string `json:"orderId"`
}

type DisputeOpenNotification added in v0.3.0

type DisputeOpenNotification struct {
	OrderId string `json:"orderId"`
}

type DisputeUpdateNotification added in v0.3.0

type DisputeUpdateNotification struct {
	OrderId string `json:"orderId"`
}

type FollowNotification

type FollowNotification struct {
	Follow string `json:"follow"`
}

type FulfillmentNotification added in v0.2.2

type FulfillmentNotification struct {
	OrderId string `json:"orderId"`
}

type Notification added in v0.3.1

type Notification struct {
	ID        int       `json:"id"`
	Data      Data      `json:"notification"`
	Timestamp time.Time `json:"timestamp"`
	Read      bool      `json:"read"`
}

type OrderCancelNotification added in v0.2.1

type OrderCancelNotification struct {
	OrderId string `json:"orderId"`
}

type OrderConfirmationNotification added in v0.2.1

type OrderConfirmationNotification struct {
	OrderId string `json:"orderId"`
}

type OrderNotification

type OrderNotification struct {
	Title             string `json:"title"`
	BuyerGuid         string `json:"buyerGuid"`
	BuyerBlockchainId string `json:"buyerBlockchainId"`
	Thumbnail         string `json:"thumbnail"`
	Timestamp         int    `json:"timestamp"`
	OrderId           string `json:"orderId"`
}

type PaymentNotification

type PaymentNotification struct {
	OrderId      string `json:"orderId"`
	FundingTotal uint64 `json:"fundingTotal"`
}

type RefundNotification added in v0.2.1

type RefundNotification struct {
	OrderId string `json:"orderId"`
}

type UnfollowNotification

type UnfollowNotification struct {
	Unfollow string `json:"unfollow"`
}

Jump to

Keyboard shortcuts

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