Documentation
¶
Overview ¶
package inmemory contains an inmemory store for our usecase. ONLY TO BE USED IN DEVELOPMENT!!
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryClient ¶
type InMemoryClient struct {
// contains filtered or unexported fields
}
InMemoryClient is an in memory client that stores objects in memory.
func NewInMemoryClient ¶
func NewInMemoryClient() *InMemoryClient
NewInMemoryClient returns an empty InMemoryClient used for CRUD on keys.
func (*InMemoryClient) Delete ¶
func (i *InMemoryClient) Delete(s string) error
Delete removes from inmemory store. Its not the nicest but hey its only for development cases! DO NOT USE IN PRODUCTION
Click to show internal directories.
Click to hide internal directories.