forked from keybase/go-keybase-chat-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gregor.go
40 lines (33 loc) · 1.12 KB
/
gregor.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/malware-unicorn/node-avdl-compiler)
// Input file: ../client/protocol/avdl/stellar1/gregor.avdl
package stellar1
type PaymentStatusMsg struct {
AccountID AccountID `codec:"accountID" json:"accountID"`
KbTxID KeybaseTransactionID `codec:"kbTxID" json:"kbTxID"`
TxID TransactionID `codec:"txID" json:"txID"`
}
func (o PaymentStatusMsg) DeepCopy() PaymentStatusMsg {
return PaymentStatusMsg{
AccountID: o.AccountID.DeepCopy(),
KbTxID: o.KbTxID.DeepCopy(),
TxID: o.TxID.DeepCopy(),
}
}
type RequestStatusMsg struct {
ReqID KeybaseRequestID `codec:"reqID" json:"reqID"`
}
func (o RequestStatusMsg) DeepCopy() RequestStatusMsg {
return RequestStatusMsg{
ReqID: o.ReqID.DeepCopy(),
}
}
type PaymentNotificationMsg struct {
AccountID AccountID `codec:"accountID" json:"accountID"`
PaymentID PaymentID `codec:"paymentID" json:"paymentID"`
}
func (o PaymentNotificationMsg) DeepCopy() PaymentNotificationMsg {
return PaymentNotificationMsg{
AccountID: o.AccountID.DeepCopy(),
PaymentID: o.PaymentID.DeepCopy(),
}
}