Created
January 17, 2018 13:57
-
-
Save ruggi/597d2a8b11779f91644126f8a8afcaec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const ( | |
| apiKey = "XXX" | |
| apiSecret = "YYY" | |
| region = "us-east" | |
| ) | |
| client, err := stream.NewClient(apiKey, apiSecret, stream.WithAPIRegion(region)) | |
| if err != nil { | |
| log.Fatalf("cannot create Stream client: %s", err) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment