The Reloadly SDK for Golang enables Go developers to easily work with Reloadly Services and build scalable solutions. You can get started in minutes if you have Go 1.15+ installed on your machine.
- SDK Homepage (Coming soon)
- Sample Code
- API Docs
- Issues
- Giving Feedback
- Getting Help
Before you begin, you need a Reloadly account. Please see the Sign Up for Reloadly section of the knowledge-base for information about how to create a Reloadly account and retrieve your Reloadly APIs credentials.
Go 1.15+ installed
$ go get -u github.com/reloadly/reloadly-sdk-golang
The Authentication module is implemented based on
the Authentication API Docs. This module has a GetAccessToken
function which is used to derive an accessToken. The access Token which should be used as a bearer token when making
authenticated requests to the Reloadly API. This module should be used only when you just need the access token, but
do not intend to use this library for other interactions with Reloadly API.
authClient,err := authentication.NewAuthClient(clientID, clientSecret, false)
if err != nil {
fmt.Println(err)
return
}
accessResponse, err := authClient.GetAccessToken()
if err != nil {
fmt.Println(err)
return
}
accessToken := accessResponse.AccessToken
expiresIn := accessResponse.ExpiresIn
fmt.Println(accessToken,expiresIn)
GitHub issues is the preferred channel to interact with our team. Also check these community resources for getting help:
- Checkout & search our knowledge-base
- Talk to us live on our chat tool on our website (bottom right)
- Ask a question on StackOverflow and tag it with
reloadly-golang-sdk
- Articulate your feature request or upvote existing ones on our Issues page
- Take a look at our youtube series for plenty of helpful walkthroughs and tips
- Open a case via with the Reloadly Support Center
- If it turns out that you may have found a bug, please open an issue
Please see the Godoc for the most up-to-date documentation.
We need your help in making this SDK great. Please participate in the community and contribute to this effort by
submitting issues, participating in discussion forums and submitting pull requests through the following channels:
- Submit issues - this is the preferred channel to interact with our team
- Come join the Reloadly Golang community chat on Gitter
- Articulate your feature request or upvote existing ones on our Issues page
- Send feedback directly to the team at [email protected]
This project is licensed under the MIT license. See the LICENSE file for more info.