github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/protocol/stellar1/gregor.go (about) 1 // Auto-generated to Go types and interfaces using avdl-compiler v1.4.10 (https://github.com/keybase/node-avdl-compiler) 2 // Input file: avdl/stellar1/gregor.avdl 3 4 package stellar1 5 6 import ( 7 "github.com/keybase/go-framed-msgpack-rpc/rpc" 8 ) 9 10 type PaymentStatusMsg struct { 11 AccountID AccountID `codec:"accountID" json:"accountID"` 12 KbTxID KeybaseTransactionID `codec:"kbTxID" json:"kbTxID"` 13 TxID TransactionID `codec:"txID" json:"txID"` 14 } 15 16 func (o PaymentStatusMsg) DeepCopy() PaymentStatusMsg { 17 return PaymentStatusMsg{ 18 AccountID: o.AccountID.DeepCopy(), 19 KbTxID: o.KbTxID.DeepCopy(), 20 TxID: o.TxID.DeepCopy(), 21 } 22 } 23 24 type RequestStatusMsg struct { 25 ReqID KeybaseRequestID `codec:"reqID" json:"reqID"` 26 } 27 28 func (o RequestStatusMsg) DeepCopy() RequestStatusMsg { 29 return RequestStatusMsg{ 30 ReqID: o.ReqID.DeepCopy(), 31 } 32 } 33 34 type PaymentNotificationMsg struct { 35 AccountID AccountID `codec:"accountID" json:"accountID"` 36 PaymentID PaymentID `codec:"paymentID" json:"paymentID"` 37 } 38 39 func (o PaymentNotificationMsg) DeepCopy() PaymentNotificationMsg { 40 return PaymentNotificationMsg{ 41 AccountID: o.AccountID.DeepCopy(), 42 PaymentID: o.PaymentID.DeepCopy(), 43 } 44 } 45 46 type GregorInterface interface { 47 } 48 49 func GregorProtocol(i GregorInterface) rpc.Protocol { 50 return rpc.Protocol{ 51 Name: "stellar.1.gregor", 52 Methods: map[string]rpc.ServeHandlerDescription{}, 53 } 54 } 55 56 type GregorClient struct { 57 Cli rpc.GenericClient 58 }