You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
665 B
43 lines
665 B
package block |
|
|
|
// RPCArgInfo . |
|
type RPCArgInfo struct { |
|
MID int64 |
|
} |
|
|
|
// RPCArgBatchInfo . |
|
type RPCArgBatchInfo struct { |
|
MIDs []int64 |
|
} |
|
|
|
// RPCResInfo . |
|
type RPCResInfo struct { |
|
MID int64 |
|
BlockStatus BlockStatus |
|
StartTime int64 |
|
EndTime int64 |
|
} |
|
|
|
// Parse . |
|
func (r *RPCResInfo) Parse(b *BlockInfo) { |
|
r.MID = b.MID |
|
r.BlockStatus = b.BlockStatus |
|
r.StartTime = b.StartTime |
|
r.EndTime = b.EndTime |
|
} |
|
|
|
// RPCArgBlock . |
|
// type RPCArgBlock struct { |
|
// } |
|
|
|
// RPCArgBatchBlock . |
|
// type RPCArgBatchBlock struct { |
|
// } |
|
|
|
// RPCArgRemove . |
|
// type RPCArgRemove struct { |
|
// } |
|
|
|
// RPCArgBatchRemove .RPCArgBatchRemove |
|
// type RPCArgBatchRemove struct { |
|
// }
|
|
|