Skip to content

Golang package for use with Trio Mobile SMS Provider.

License

Notifications You must be signed in to change notification settings

pakej/trioutil-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

TrioUtil

TrioUtil is a golang package for use with Trio-Mobile SMS Provider. It's usage is based on Trio-Mobile's API.

Installation

$ go get github.com/pakej/go-trioutil

Usage

Import TrioUtil

import "github.com/pakej/go-trioutil"

Create a new trioutil reference

trio_token := "my-trio-mobile-token"
t := TrioUtil.New(trio_token)

Send an SMS

response, err := t.SendSms(phone, body)

if err != nil {
  // handle the error
  return
}

// do something with response

Making Changes

  1. Create your feature branch (git checkout -b new-feature)
  2. Commit your changes (git commit -am 'Some cool reflection')
  3. Push to the branch (git push origin new-feature)
  4. Create new Pull Request

License

MIT

About

Golang package for use with Trio Mobile SMS Provider.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages