Skip to content

example implementation for in memory database and implement data in memory to json file and implement token bucket algorithm on rate limiter

Notifications You must be signed in to change notification settings

huzairuje/go-gin-gorm-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go gin gorm example

Feature

1. gin as http framework

2. gorm as orm framework on sql

3. redis as cache

4. rate limiter

5. can enable and disable postgres (if postgres is disabled using in memory slice as data persistence and make a file for the data persistence)

6. can enable and disable redis

7. when triggering shut down make a json file for data persistence

About

example implementation for in memory database and implement data in memory to json file and implement token bucket algorithm on rate limiter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages