Categorygithub.com/gouef/cache
modulepackage
1.0.7
Repository: https://github.com/gouef/cache.git
Documentation: pkg.go.dev

# README

Cache

Cache is a lightweight, flexible, and efficient caching library for Go, designed to support multiple backends, including in-memory, file-based, and Redis. It provides a unified interface for caching operations, making it simple to switch between storage solutions without changing your application logic.

Whether you need a fast, ephemeral cache for high-performance applications or a persistent cache for long-term storage, this library has you covered.

With a focus on simplicity and ease of use, Cache enables developers to manage cached data effortlessly, improving application performance and reducing latency.

This package implements github.com/gouef/standards.

Static Badge

GoDoc GitHub stars Go Report Card codecov

Versions

Stable Version GitHub Release GitHub Release

Installation

To use this package in your project, add it using Go modules:

go get -u github.com/gouef/cache

Usages

Contributing

Read Contributing

Contributors

JanGalek actions-user

# Packages

No description provided by the author

# Functions

GetStorage get storage (for global usages).
NewFile create new instance of File and check if directory exists.
No description provided by the author
NewFileSimple create FileSimple instance with not allowed default value nil.
NewFileSimpleWithDefaultNil create FileSimple instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewStorage create new instance of Storage.

# Constants

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
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