Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/connections/sources/catalog/libraries/server/go/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,17 @@ That will create a `client` that you can use to send data to Segment for your so
The default initialization settings are production-ready and queue 20 messages before sending a batch request, and a 5 second interval.

### Regional configuration
For Business plans with access to Regional Segment, you can use the host configuration parameter to send data to the desired region:
For Business plans with access to Regional Segment, you can use the endpoint configuration parameter to send data to the desired region:

Oregon (Default) — api.segment.io/
Dublin — events.eu1.segmentapis.com
- Oregon (Default) — https://api.segment.io
- Dublin — https://events.eu1.segmentapis.com

Example configuration for EU region:
```go
client, err := analytics.NewWithConfig(writeKey, analytics.Config{
Endpoint: "https://events.eu1.segmentapis.com",
})
```
## Identify

> note ""
Expand Down
Loading