3 dépôts
HTTP clients that use interfaces to allow replacing the default network transport for testing or proxying.
Distinct from HTTP Client Implementations: Focuses on the abstract interface for transport replacement, not the specific implementation of the request logic
Explore 3 awesome GitHub repositories matching web development · Interface-Based Clients. Refine with filters or upvote what's useful.
This project is a Go language library and API SDK designed for integrating with the WeChat ecosystem. It provides a programmatic interface to manage official accounts, mini programs, and enterprise platform features. The SDK features an interface-based client design that abstracts various API categories into specialized objects. It includes a dedicated OAuth 2.0 authorization client to manage access tokens, authentication tickets, and third-party authorization flows, alongside a pluggable token caching system to share credentials across different environments. The library covers broad capabi
Implements an interface-based client design to abstract different API categories into specialized objects.
Ce projet est un modèle d'architecture iOS en Swift qui implémente le pattern Clean Architecture. Il organise le logiciel en couches distinctes pour découpler les règles métier des frameworks externes, des interfaces utilisateur et de l'infrastructure, afin d'améliorer la testabilité et la maintenance. Le modèle intègre le Domain-Driven Design (DDD) pour isoler la logique métier principale et utilise une structure d'application modulaire pour diviser les fonctionnalités en modules indépendants. Il emploie le pattern Coordinator pour supprimer la logique de routage des contrôleurs de vue et un framework d'injection de dépendances pour garantir que les composants restent indépendants et interchangeables. L'architecture tire également parti de la gestion d'état réactive pour découpler la logique de la couche de vue et utilise une infrastructure basée sur des interfaces pour permettre le remplacement des fournisseurs de données sans modifier les règles métier.
Defines repository contracts in the domain layer to allow swapping of data providers without modifying business rules.
openai-go is an LLM SDK for Go and a client for interacting with OpenAI services. It provides type-safe bindings to generate text, images, and audio via REST endpoints, enabling the integration of large language models and AI assistant orchestration into Go applications. The library serves as an agent orchestration tool for managing stateful conversation threads and autonomous agents with integrated tool calling and file search. It also functions as an asynchronous batch processing client for monitoring large-scale request groups and fine-tuning jobs, alongside a management SDK for controllin
Provides an interface-based HTTP client allowing the network transport to be replaced for testing and proxying.