File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
src/connections/sources/catalog/libraries/server/go Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,17 @@ That will create a `client` that you can use to send data to Segment for your so
41
41
The default initialization settings are production-ready and queue 20 messages before sending a batch request, and a 5 second interval.
42
42
43
43
### Regional configuration
44
- For Business plans with access to Regional Segment, you can use the host configuration parameter to send data to the desired region:
44
+ For Business plans with access to Regional Segment, you can use the endpoint configuration parameter to send data to the desired region:
45
45
46
- Oregon (Default) — api.segment.io/
47
- Dublin — events.eu1.segmentapis.com
46
+ - Oregon (Default) — https:// api.segment.io
47
+ - Dublin — https:// events.eu1.segmentapis.com
48
48
49
+ Example configuration for EU region:
50
+ ``` go
51
+ client , err := analytics.NewWithConfig (writeKey, analytics.Config {
52
+ Endpoint : " https://events.eu1.segmentapis.com" ,
53
+ })
54
+ ```
49
55
## Identify
50
56
51
57
> note ""
You can’t perform that action at this time.
0 commit comments