feat: HTTP debug logging in client.do()
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user