You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
307 B
Go
19 lines
307 B
Go
package bus
|
|
|
|
// PubSub Update Types
|
|
const (
|
|
UpdatePaymentReceived = iota
|
|
)
|
|
|
|
// Channel names
|
|
const (
|
|
WatchInvoicesChannelName = "watch_invoices"
|
|
)
|
|
|
|
// Simple message used for update notifications in pub/sub
|
|
type UpdateMessage struct {
|
|
UploadId string
|
|
Status int // update type
|
|
Data interface{}
|
|
}
|