Set writes the given item, unconditionally.
(item *Item)
| 600 | |
| 601 | // Set writes the given item, unconditionally. |
| 602 | func (c *Client) Set(item *Item) error { |
| 603 | return c.onItem(item, (*Client).set) |
| 604 | } |
| 605 | |
| 606 | func (c *Client) set(rw *bufio.ReadWriter, item *Item) error { |
| 607 | return c.populateOne(rw, "set", item) |