/
gregor.go
58 lines (47 loc) · 1.42 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// Auto-generated to Go types and interfaces using avdl-compiler v1.4.10 (https://github.com/keybase/node-avdl-compiler)
// Input file: avdl/stellar1/gregor.avdl
package stellar1
import (
"github.com/keybase/go-framed-msgpack-rpc/rpc"
)
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(),
}
}
type GregorInterface interface {
}
func GregorProtocol(i GregorInterface) rpc.Protocol {
return rpc.Protocol{
Name: "stellar.1.gregor",
Methods: map[string]rpc.ServeHandlerDescription{},
}
}
type GregorClient struct {
Cli rpc.GenericClient
}