Knowledge
Search knowledge... ⌘K
Knowledge · Guidelines · go
External Api Client Construction
Governs how Go route handlers construct HTTP clients for external APIs. Prevents ad-hoc client construction and ensures centralized credential resolution.
Metadata
go go
Procedures
Showing 3 of 7
- G1 NEVER construct http.Client, DokployClient, or GatewayClient in route handlers
code-review
- G2 Use clientRegistry.Dokploy(serverName) for Dokploy API clients
code-review
- G3 Use clientRegistry.Gateway(serverName) for HMAC-signed gateway clients
code-review