WithKey set key to Entry
(key []byte)
| 229 | |
| 230 | // WithKey set key to Entry |
| 231 | func (e *Entry) WithKey(key []byte) *Entry { |
| 232 | e.Key = key |
| 233 | return e |
| 234 | } |
| 235 | |
| 236 | // WithValue set value to Entry |
| 237 | func (e *Entry) WithValue(value []byte) *Entry { |
no outgoing calls