- Notifications
You must be signed in to change notification settings - Fork10
go-gsm/ucp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ucp
is a pureGo implementation of theUCP protocol primarily used to connect to short message service centres (SMSCs), in order to send and receive short messages (SMS).
- go 1.11
- git
go get github.com/go-gsm/ucp
opt := &ucp.Options{ Addr: SMSC_ADDR, User: SMSC_USER, Password: SMSC_PASSWORD, AccessCode: SMSC_ACCESSCODE,}client := ucp.New(opt)client.Connect()defer client.Close()ids, err := client.Send(sender, receiver, message)