gw-currency-wallet

module
v0.0.0-...-fb81480 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: MIT

Directories

Path Synopsis
Package main contains the entry point for the application.
Package main contains the entry point for the application.
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
internal
app
Package app initializes and runs the main application, handling server startup, shutdown, and application lifecycle management.
Package app initializes and runs the main application, handling server startup, shutdown, and application lifecycle management.
delivery
Package delivery handles the routing of HTTP requests and the integration of different application layers, including authentication, wallet operations, and exchange services.
Package delivery handles the routing of HTTP requests and the integration of different application layers, including authentication, wallet operations, and exchange services.
delivery/auth
Package auth contains the logic for handling user authentication-related operations, including user registration, login, and token management.
Package auth contains the logic for handling user authentication-related operations, including user registration, login, and token management.
delivery/grpcclient
Package grpcclient facilitates communication with external gRPC services, specifically for exchange rate retrieval and currency exchange operations.
Package grpcclient facilitates communication with external gRPC services, specifically for exchange rate retrieval and currency exchange operations.
delivery/middleware
Package middleware provides middleware for handling common tasks like user identity verification (token validation).
Package middleware provides middleware for handling common tasks like user identity verification (token validation).
delivery/wallet
Package wallet manages user wallet operations, including balance retrieval, deposits, and withdrawals.
Package wallet manages user wallet operations, including balance retrieval, deposits, and withdrawals.
model
Package model defines the data structures used for parsing and handling JSON input and output, including user data, wallet operations, and other domain-specific entities.
Package model defines the data structures used for parsing and handling JSON input and output, including user data, wallet operations, and other domain-specific entities.
service
Package service contains business logic and data operations, interacting with external systems such as databases and APIs.
Package service contains business logic and data operations, interacting with external systems such as databases and APIs.
service/auth
Package auth handles user authentication functionalities such as user creation, token generation, and token parsing.
Package auth handles user authentication functionalities such as user creation, token generation, and token parsing.
service/grpcclient
Package grpcclient provides gRPC client functionality for exchanging rates and performing wallet operations.
Package grpcclient provides gRPC client functionality for exchanging rates and performing wallet operations.
service/wallet
Package wallet provides functionality related to user wallets, including balance retrieval, deposits, and withdrawals.
Package wallet provides functionality related to user wallets, including balance retrieval, deposits, and withdrawals.
storage
Package storage provides access to both authentication and wallet storage layers, making them available to the main application.
Package storage provides access to both authentication and wallet storage layers, making them available to the main application.
storage/auth
Package auth provides authentication-related functionality, including user creation and retrieval from the database.
Package auth provides authentication-related functionality, including user creation and retrieval from the database.
storage/wallet
Package wallet provides functionality related to user wallets, including balance retrieval, deposits, and withdrawals.
Package wallet provides functionality related to user wallets, including balance retrieval, deposits, and withdrawals.
pkg
app
Package app initializes and manages the core application, including setting up services, handlers, and the server.
Package app initializes and manages the core application, including setting up services, handlers, and the server.
cache
Package cache provides an abstraction for caching mechanisms used by the application.
Package cache provides an abstraction for caching mechanisms used by the application.
cache/redis
Package redis provides a Redis-based caching implementation for the application.
Package redis provides a Redis-based caching implementation for the application.
server
Package server provides an abstraction for running an HTTP server.
Package server provides an abstraction for running an HTTP server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL