Skip to content

feat: Add a GO plugin for geo routing#311

Open
mateustd-ciandt wants to merge 5 commits intoGoogleCloudPlatform:mainfrom
mateustd-ciandt:go-plugin-geo-routing
Open

feat: Add a GO plugin for geo routing#311
mateustd-ciandt wants to merge 5 commits intoGoogleCloudPlatform:mainfrom
mateustd-ciandt:go-plugin-geo-routing

Conversation

@mateustd-ciandt
Copy link
Contributor

This PR adds a GO plugin that reads the client's country code from load balancer properties (request.client_region) and sets it as an x-country-code request header.
This header enables URL Map routing rules to direct traffic to geographically appropriate backend services.

@mateustd-ciandt mateustd-ciandt marked this pull request as ready for review January 29, 2026 16:57
@mateustd-ciandt mateustd-ciandt requested a review from a team as a code owner January 29, 2026 16:57
@snippet-bot
Copy link

snippet-bot bot commented Jan 29, 2026

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@mpwarres mpwarres self-assigned this Feb 11, 2026
@mpwarres
Copy link
Collaborator

Hmm, it seems that merging main into this PR broke something. @mateustd-ciandt could you take a look?

@mateustd-ciandt
Copy link
Contributor Author

@mpwarres we should be good now!

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