Categorygithub.com/dsh2dsh/expx-cache
modulepackage
0.0.0-20241220161127-3678a9dec81c
Repository: https://github.com/dsh2dsh/expx-cache.git
Documentation: pkg.go.dev

# README

Cache library for Go

Go

Right now this project is under constraction.

This project was started as a fork of go-cache, but later I decided to rewrite it.

How to test

For launching all tests a redis instance required

WITH_REDIS="redis://localhost:6379" make test

or create file named .env.local with next content

WITH_REDIS=redis://localhost:6379

and run tests by

make test

If this redis instance is in production, tests should be pointed to another redis db on this instance, like

WITH_REDIS=redis://localhost:6379/1

In this case tests will use first and next redis databases (assuming db 0 contains production data). Tests use more databases, starting from db of connection.

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author