BaseClient contains the shared HTTP functionality used by all sub-clients
| 43 | |
| 44 | // BaseClient contains the shared HTTP functionality used by all sub-clients |
| 45 | type BaseClient struct { |
| 46 | BaseURL string |
| 47 | HTTPClient *http.Client |
| 48 | UserID string // Default user ID for requests that require it |
| 49 | } |
| 50 | |
| 51 | // NewBaseClient creates a new base client with the given configuration |
| 52 | func NewBaseClient(baseURL string, options ...ClientOption) *BaseClient { |
nothing calls this directly
no outgoing calls
no test coverage detected