Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 692 Bytes

File metadata and controls

10 lines (8 loc) · 692 Bytes

Common Utilities Module

The common-utils module provides a set of reusable utilities and connectors for various services, such as PostgreSQL, Redis, logging, and context management. These utilities are designed to simplify and standardize common operations across multiple services.

Features

  • PostgreSQL Connector: Simplifies database connection pooling and management.
  • Redis Connector: Provides caching capabilities with easy-to-use methods.
  • Custom Context Management: Thread-safe context for storing and retrieving key-value pairs.
  • Logging: Centralized logging using zap for structured and consistent logs.
  • Constants: Centralized constants for shared usage across services.