Documentation ¶
Overview ¶
Package service contains business logic and data operations, interacting with external systems such as databases and APIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { *auth.Auth // Embeds Auth for authentication-related operations *wallet.Wallet // Embeds Wallet for wallet-related operations *grpcclient.Exchange // Embeds Exchange to get exchange-rates data }
Service bundles authentication, wallet, and exchange services together.
Directories ¶
Path | Synopsis |
---|---|
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. |
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. |
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.