-
Notifications
You must be signed in to change notification settings - Fork 1
SSE Proxy Functionality - FDN-17 FDN-233 FDN-234 #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| | DVC_LB_PROXY_SDKCONFIG_EVENTSAPIURI | String | | | The URI of the Events API - leave unspecified if not needing an outbound proxy. | | ||
| | KEY | TYPE | DEFAULT | REQUIRED | DESCRIPTION | | ||
| |----------------------------------------------------------|---------------|---------|----------|---------------------------------------------------------------------------------| | ||
| | DEVCYCLE_PROXY_CONFIG | String | | | The path to a JSON configuration file. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will we need to do a major version increase for these name changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep
| func Variable(client *devcycle.Client) gin.HandlerFunc { | ||
| func Variable() gin.HandlerFunc { | ||
| return func(c *gin.Context) { | ||
| client := c.Value("devcycle").(*devcycle.Client) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohh, interesting so the devcycle client is now attached to the request context?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah - I wanted to make it more context friendly and properly scoped to each request since it's handled by a different gin instance
No description provided.