Directories
¶
Path | Synopsis |
---|---|
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. |
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. |
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. |
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. |
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). |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
Click to show internal directories.
Click to hide internal directories.