Skip to content

Commit

Permalink
Feat: Persistence Storage Feature Added in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuthe1 committed Jul 8, 2024
1 parent 73f9645 commit 1f9901a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./sample/cache_data.json
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,29 @@ This project implements an in-memory caching library in Golang with support for
- **Benchmarking**: Basic benchmarking capabilities for cache operations.
- **Versatile Value Storage**: Can store any type of value, including integers, strings, arrays, maps, and structs.
- **Batch Operations**: Supports setting and getting multiple key-value pairs at once.
- **Persistence**: Save cache contents to a file and load from a file.

## Setup
### Folder Structure
```
kuki-memcache/
├── cache/
│ └── cache.go
├── benchmark/
│ └── benchmark.go
├── eviction/
│ ├── policy.go
│ ├── fifo.go
│ ├── lifo.go
│ └── lru.go
├── persistence/
│ ├── file_persistence.go
│ └── persistable.go
├── test/
│ └── cache_test.go
├── sample/
│ └── main.go
└── README.md
```

### Prerequisites

Expand Down
1 change: 0 additions & 1 deletion sample/cache_data.json

This file was deleted.

0 comments on commit 1f9901a

Please sign in to comment.