Put sets the value for the given key. It overwrites any previous value for that key, and it's thread-safe. The key has to be a string. value type is arbitrary. It is safe to modify the contents of the arguments after Put returns but not before.
(ctx context.Context, key string, value interface{}, options ...PutOption)
| 159 | // that key, and it's thread-safe. The key has to be a string. value type is arbitrary. |
| 160 | // It is safe to modify the contents of the arguments after Put returns but not before. |
| 161 | Put(ctx context.Context, key string, value interface{}, options ...PutOption) error |
| 162 | |
| 163 | // Get gets the value for the given key. It returns ErrKeyNotFound if the DB |
| 164 | // does not contain the key. It's thread-safe. It is safe to modify the contents |
no outgoing calls