notifications

package
v0.0.0-...-8eaf68a Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Describe

func Describe(i interface{}) (string, string)

func Serialize

func Serialize(i interface{}) []byte

Types

type ChatMessage

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

type ChatRead

type ChatRead struct {
	MessageId string `json:"messageId"`
	PeerId    string `json:"peerId"`
	Subject   string `json:"subject"`
}

type ChatTyping

type ChatTyping struct {
	PeerId  string `json:"peerId"`
	Subject string `json:"subject"`
}

type CompletionNotification

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

type Data

type Data interface {
}

type DisputeCloseNotification

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

type DisputeOpenNotification

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

type DisputeUpdateNotification

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

type FollowNotification

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

type FulfillmentNotification

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

type ModeratorAddNotification

type ModeratorAddNotification struct {
	ModeratorAdd string `json:"moderatorAdd"`
}

type ModeratorRemoveNotification

type ModeratorRemoveNotification struct {
	ModeratorRemove string `json:"moderatorRemove"`
}

type Notification

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

type OrderCancelNotification

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

type OrderConfirmationNotification

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

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

type StatusNotification

type StatusNotification struct {
	Status string `json:"status"`
}

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