feat: HTTP debug logging in client.do()

This commit is contained in:
2026-07-28 23:57:24 +08:00
parent b7085af9d3
commit 9faf881efa
4 changed files with 25 additions and 7 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ type Rainyun struct {
// New creates a Rainyun provider from config.
func New(cfg provider.ProviderConfig) (provider.Provider, error) {
c := newClient(cfg.Endpoint, cfg.APIKey)
c := newClient(cfg.Endpoint, cfg.APIKey, cfg.Debug)
r := &Rainyun{client: c}
r.server = &ServerService{client: c}
r.domain = &DomainService{client: c}