Documentation ¶
Index ¶
- type InMemoryRepository
- func (i *InMemoryRepository) Delete(ctx context.Context, prefix string, key string) error
- func (i *InMemoryRepository) Get(ctx context.Context, prefix string, key string) ([]byte, error)
- func (i *InMemoryRepository) GetAll(ctx context.Context, prefix string) ([][]byte, error)
- func (i *InMemoryRepository) Put(ctx context.Context, prefix string, key string, value []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryRepository ¶
type InMemoryRepository struct {
// contains filtered or unexported fields
}
func NewInMemoryRepository ¶
func NewInMemoryRepository() *InMemoryRepository
Click to show internal directories.
Click to hide internal directories.