-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1045b31
commit 7cd4211
Showing
1,411 changed files
with
361,949 additions
and
4,735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
configured_endpoints: 126 | ||
configured_endpoints: 1359 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,8 +39,10 @@ import ( | |
|
||
func main() { | ||
client := cloudflare.NewClient( | ||
option.WithAPIKey("my-cloudflare-api-key"), // defaults to os.LookupEnv("CLOUDFLARE_API_KEY") | ||
option.WithEmail("[email protected]"), // defaults to os.LookupEnv("CLOUDFLARE_EMAIL") | ||
option.WithAPIEmail("[email protected]"), // defaults to os.LookupEnv("CLOUDFLARE_API_EMAIL") | ||
option.WithAPIKey("my-cloudflare-api-key"), // defaults to os.LookupEnv("CLOUDFLARE_API_KEY") | ||
option.WithAPIToken("my-cloudflare-api-token"), // defaults to os.LookupEnv("CLOUDFLARE_API_TOKEN") | ||
option.WithUserServiceKey("my-cloudflare-user-service-key"), // defaults to os.LookupEnv("CLOUDFLARE_USER_SERVICE_KEY") | ||
) | ||
zoneNewResponse, err := client.Zones.New(context.TODO(), cloudflare.ZoneNewParams{ | ||
Account: cloudflare.F(cloudflare.ZoneNewParamsAccount{ | ||
|
Oops, something went wrong.