AsBody returns a Body representation of ReplicationStatusDoc for use with putSpecial
()
| 1385 | |
| 1386 | // AsBody returns a Body representation of ReplicationStatusDoc for use with putSpecial |
| 1387 | func (r *ReplicationStatusDoc) AsBody() Body { |
| 1388 | return Body{ |
| 1389 | replicationStatusBodyRev: r.Rev, |
| 1390 | replicationStatusBodyStatus: r.Status, |
| 1391 | } |
| 1392 | } |
| 1393 | |
| 1394 | // Add adds the value of all counter stats in other to ReplicationStatus |
| 1395 | func (rs *PullReplicationStatus) Add(other PullReplicationStatus) { |