Documentation ¶
Overview ¶
Package inmem, as the name implies, is an in-memory persistence layer with methods that are safe for concurrency. This is useful when simply wanting to work with something like a go map that is not safe for concurrency.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Persister ¶
type Persister struct {
// contains filtered or unexported fields
}
func (*Persister) Get ¶
Get retrieves the value associated with the given key from the key-value store safe for concurrency.
Click to show internal directories.
Click to hide internal directories.