notifications

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Describe added in v0.5.0

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

func Serialize

func Serialize(i interface{}) []byte

func Wrap added in v0.5.6

func Wrap(i interface{}) interface{}

Types

type ChatMessage added in v0.3.1

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 added in v0.5.0

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

type ChatTyping added in v0.5.0

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

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 IncomingTransaction added in v0.5.3

type IncomingTransaction struct {
	Txid          string    `json:"txid"`
	Value         int64     `json:"value"`
	Address       string    `json:"address"`
	Status        string    `json:"status"`
	Memo          string    `json:"memo"`
	Timestamp     time.Time `json:"timestamp"`
	Confirmations int32     `json:"confirmations"`
	OrderId       string    `json:"orderId"`
	Thumbnail     string    `json:"thumbnail"`
	Height        int32     `json:"height"`
	CanBumpFee    bool      `json:"canBumpFee"`
}

type ModeratorAddNotification added in v0.5.1

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

type ModeratorRemoveNotification added in v0.5.1

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

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"`
	BuyerId           string `json:"buyerId"`
	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 StatusNotification added in v0.5.0

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