Documentation ¶
Index ¶
- func Init(name string, s types.RPCServer)
- type Grpc
- func (c Grpc) Backup(ctx context.Context, v *rt.BackupRetrieve) (*types.UnsignTx, error)
- func (c Grpc) Cancel(ctx context.Context, v *rt.CancelRetrieve) (*types.UnsignTx, error)
- func (c Grpc) Perform(ctx context.Context, v *rt.PerformRetrieve) (*types.UnsignTx, error)
- func (c Grpc) Prepare(ctx context.Context, v *rt.PrepareRetrieve) (*types.UnsignTx, error)
- type Jrpc
- func (c *Jrpc) CreateRawRetrieveBackupTx(in *RetrieveBackupTx, result *interface{}) error
- func (c *Jrpc) CreateRawRetrieveCancelTx(in *RetrieveCancelTx, result *interface{}) error
- func (c *Jrpc) CreateRawRetrievePerformTx(in *RetrievePerformTx, result *interface{}) error
- func (c *Jrpc) CreateRawRetrievePrepareTx(in *RetrievePrepareTx, result *interface{}) error
- type RetrieveBackupTx
- type RetrieveCancelTx
- type RetrievePerformTx
- type RetrievePrepareTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Grpc ¶
type Grpc struct {
// contains filtered or unexported fields
}
Grpc def
type Jrpc ¶
type Jrpc struct {
// contains filtered or unexported fields
}
Jrpc def
func (*Jrpc) CreateRawRetrieveBackupTx ¶
func (c *Jrpc) CreateRawRetrieveBackupTx(in *RetrieveBackupTx, result *interface{}) error
CreateRawRetrieveBackupTx construct backup tx
func (*Jrpc) CreateRawRetrieveCancelTx ¶
func (c *Jrpc) CreateRawRetrieveCancelTx(in *RetrieveCancelTx, result *interface{}) error
CreateRawRetrieveCancelTx construct cancel tx
func (*Jrpc) CreateRawRetrievePerformTx ¶
func (c *Jrpc) CreateRawRetrievePerformTx(in *RetrievePerformTx, result *interface{}) error
CreateRawRetrievePerformTx construct perform tx
func (*Jrpc) CreateRawRetrievePrepareTx ¶
func (c *Jrpc) CreateRawRetrievePrepareTx(in *RetrievePrepareTx, result *interface{}) error
CreateRawRetrievePrepareTx construct prepare tx
type RetrieveBackupTx ¶
type RetrieveBackupTx struct { BackupAddr string `json:"backupAddr"` DefaultAddr string `json:"defaultAddr"` DelayPeriod int64 `json:"delayPeriod"` Fee int64 `json:"fee"` }
RetrieveBackupTx construction
type RetrieveCancelTx ¶
type RetrieveCancelTx struct { BackupAddr string `json:"backupAddr"` DefaultAddr string `json:"defaultAddr"` Fee int64 `json:"fee"` }
RetrieveCancelTx construction
type RetrievePerformTx ¶
type RetrievePerformTx struct { BackupAddr string `json:"backupAddr"` DefaultAddr string `json:"defaultAddr"` Fee int64 `json:"fee"` }
RetrievePerformTx construction
type RetrievePrepareTx ¶
type RetrievePrepareTx struct { BackupAddr string `json:"backupAddr"` DefaultAddr string `json:"defaultAddr"` Fee int64 `json:"fee"` }
RetrievePrepareTx construction
Click to show internal directories.
Click to hide internal directories.