Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datetime clinet functionality #1

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open

datetime clinet functionality #1

wants to merge 40 commits into from

Conversation

dohaelsawy
Copy link
Contributor

@dohaelsawy dohaelsawy commented Sep 17, 2024

this pull request should make the following

issue link codescalersinternships/home#286

Requirements:

  1. Client Functionality:

    • Implement functions to call each datetime server endpoint
    • Handle different response formats (JSON, plain text)
    • Implement proper error handling and timeouts
  2. Configuration:

    • Allow configuration of server URLs and ports
    • Support for environment variable configuration
  3. Retry Mechanism:

  4. Testing:

    • Unit tests for client functions
    • Integration tests using a mock server
  5. Documentation:

    • Provide godoc-style comments for all exported functions
    • Include usage examples in the README
  6. Logging:

    • Implement structured logging for client operations

Optional Enhancements:

  • Implement a simple CLI interface for the client

@dohaelsawy dohaelsawy linked an issue Sep 17, 2024 that may be closed by this pull request
12 tasks
@dohaelsawy
Copy link
Contributor Author

Done, waiting for reviews :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Datetime HTTP Client - Doha Elsawy
2 participants