bilibili-backup/app/service/main/member/model/block/rpc.go

44 lines
665 B
Go
Raw Normal View History

2019-04-22 10:59:20 +08:00
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 {
// }