# Abzu

Library of shared functionality across all of the microservices.

## Asset Store

Wraps Google Cloud Storage SDK in a basic abstraction for uploading files.

## Authentication

Contains various helpers for authentication, including auth middleware for RESTful services. This is used in the REST Gateway.

## Cache

Simple abstractions for Redis.

## Config

Package or loading and managing environment variables and .env files as a single struct.

## Container

A series of wrappers around the Uber Fx dependency injection library. This

## Datalayer

Common method for creating Postgres connections.

## Logging

Package or setting up logging, currently wraps the Uber Zap logging library.

## Repository

Common CRUD interface, can be used for Postgres repositories, exposes a common set of methods, such as fetch, get, delete etc.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mediamagic.dev/product-docs/libs/abzu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
