A highly flexible and extensible storage interface implementation in Go that provides a unified way to interact with different storage backends.
This package implements a generic storage interface that abstracts away the complexities of working with different storage systems. It provides a consistent API for basic CRUD operations while supporting various storage backends like Redis and others. The implementation includes robust error handling, metrics collection, and APM tracing capabilities.
- Unified Storage Interface: Common interface for multiple storage backends (IStorage)
- Concurrent Operations: Support for both single and multi-storage operations
- Built-in Metrics: Comprehensive metrics tracking for all operations
- APM Integration: Built-in application performance monitoring with distributed tracing
- Extensible Architecture: Easy to implement new storage backends
- Pre/Post Operation Hooks: Customizable hooks for operation lifecycle management
- Type-Safe Operations: Generic type support for type-safe data handling
- Redis Implementation: Full featured Redis storage implementation included
- Robust Error Handling: Comprehensive error handling with customer error types
- Logging Support: Integrated logging system with different log levels
go get github.com/thalesfsp/dal/storage
- Fork
- Clone
- Create a branch
- Make changes following the same standards as the project
- Run
make ci
- Create a merge request