Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/ucpPublic

UCP protocol in Go

License

NotificationsYou must be signed in to change notification settings

go-gsm/ucp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusGoDocCoverage StatusGo Report Card

ucp

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).

setup

  • go 1.11
  • git

installation

go get github.com/go-gsm/ucp

usage

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)

demo

ucp-cli

demo


[8]ページ先頭

©2009-2025 Movatter.jp