Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Simple memory cache middleware for gin API.

License

NotificationsYou must be signed in to change notification settings

Pantani/gincache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Referencecodecov

Simple cache forgin

Simple memory cache forgin API.

E.g.:

  • Create an API cache adding the middleware to your route:
router.POST("/cache/list",gincache.CacheMiddleware(time.Hour*24,func(c*gin.Context) {// handler implementation}))

[8]ページ先頭

©2009-2025 Movatter.jp