3 个仓库
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.
该项目是一个实现整洁架构(Clean Architecture)模式的 Swift iOS 架构模板。它将软件组织成不同的层,以将业务规则与外部框架、用户界面和基础设施解耦,从而提高可测试性和可维护性。 该模板结合了领域驱动设计(DDD)来隔离核心业务逻辑,并利用模块化应用结构将功能划分为独立模块。它采用协调器(Coordinator)模式将路由逻辑从视图控制器中移除,并使用依赖注入框架来确保组件保持独立且可替换。 该架构进一步利用响应式状态管理将逻辑与视图层解耦,并利用基于接口的基础设施,允许在不修改业务规则的情况下切换数据提供程序。
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.