A client for the Esendex REST API.
$ go get github.com/esendex/esendex-go-sdk
Extremely simple example:
import (
"github.com/esendex/esendex-go-sdk"
)
var (
accountReference = "EX000000"
username = "user"
password = "pass"
)
func main() {
client := esendex.New(username, password)
accountClient := client.Account(accountReference)
response, err := accountClient.Received()
if err == nil {
// response.Messages contains messages received by the account
}
}
See the GoDocs for some further examples around sending messages, checking message status etc.