Skip to content

Conversation

Tinyblargon
Copy link
Contributor

This PR adds support for TransIP, and does this through gotransip.

@TimothyYe TimothyYe requested a review from Copilot April 25, 2025 12:43
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for TransIP as a new DNS provider by integrating the gotransip library.

  • Adds TransIP-specific settings validations in settings.go
  • Introduces a new TransIP provider implementation and integrates it into the provider factory
  • Updates the README documentation to include TransIP configuration examples

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
internal/utils/settings.go Adds error checks for email and login token when the provider is set to TransIP.
internal/utils/constants.go Introduces the TRANSIP constant to support the new provider.
internal/provider/transip/transip_handler.go Implements the TransIP provider logic using the gotransip library.
internal/provider/factory.go Adds a case for initializing the TransIP provider in the factory.
README.md Documents configuration and usage details for TransIP.
Files not reviewed (1)
  • go.mod: Language not supported

@TimothyYe
Copy link
Owner

@Tinyblargon Thanks for the contribution. I checked the Auto CI result, there is only one error for the comment.

@Tinyblargon
Copy link
Contributor Author

@TimothyYe I'll fix that asap.

But is the added library an issue? Noticed all the other implementations don't use the SDKs for those providers. For example, the CloudFlare Go SDK.

Or is that because the Go SDKs came after this project already supported those cloud providers?

@TimothyYe
Copy link
Owner

@Tinyblargon I guess so. GoDNS's support for Cloudflare came relatively early, likely due to some historical reasons. It doesn't directly use Go's SDK, but instead implements their RESTful API.

@TimothyYe TimothyYe merged commit e137718 into TimothyYe:master Apr 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants