See Client interface for documentation.
( key string, delta uint64, initValue uint64, expiration uint32)
| 685 | |
| 686 | // See Client interface for documentation. |
| 687 | func (c *RawBinaryClient) Increment( |
| 688 | key string, |
| 689 | delta uint64, |
| 690 | initValue uint64, |
| 691 | expiration uint32) CountResponse { |
| 692 | |
| 693 | c.mutex.Lock() |
| 694 | defer c.mutex.Unlock() |
| 695 | |
| 696 | resp := c.sendCountRequest(opIncrement, key, delta, initValue, expiration) |
| 697 | if resp != nil { |
| 698 | return resp |
| 699 | } |
| 700 | return c.receiveCountResponse(opIncrement, key) |
| 701 | } |
| 702 | |
| 703 | // See Client interface for documentation. |
| 704 | func (c *RawBinaryClient) Decrement( |
nothing calls this directly
no test coverage detected