All Projects → yedamao → go_sgip

yedamao / go_sgip

Licence: MIT License
This is an implementation of SGIP 1.2 for Go

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to go sgip

ucp
UCP protocol in Go
Stars: ✭ 40 (+135.29%)
Mutual labels:  sms
laravel-sms-api
Laravel package to provide SMS API integration.
Stars: ✭ 84 (+394.12%)
Mutual labels:  sms
SnorkTracker
GPS IoT tracker board for scanning gps and environment information and sending this to a MQTT server via GPRS.
Stars: ✭ 38 (+123.53%)
Mutual labels:  sms
totalvoice-php
Client em PHP para API da Totalvoice
Stars: ✭ 30 (+76.47%)
Mutual labels:  sms
mimo-ce
MIMO Community Edition
Stars: ✭ 20 (+17.65%)
Mutual labels:  sms
slack-texts
SMS notifications for Slack groups
Stars: ✭ 19 (+11.76%)
Mutual labels:  sms
kavenegar-php
Kavenegar API Client Writen In PHP
Stars: ✭ 45 (+164.71%)
Mutual labels:  sms
sms
API server to send SMS using GSM modem. Written in Go
Stars: ✭ 26 (+52.94%)
Mutual labels:  sms
smpp.net
Short Message Peer-to-Peer (SMPP) .NET library
Stars: ✭ 29 (+70.59%)
Mutual labels:  sms
fake-sms-notifier
Fake SMS (as email during development) Notifier Bridge
Stars: ✭ 16 (-5.88%)
Mutual labels:  sms
sample-template-nodejs
A template repository serving as the base for new Twilio sample apps
Stars: ✭ 16 (-5.88%)
Mutual labels:  sms
mobizon-node
Biblioteca NodeJS para trabalhar com os serviços Mobizon API
Stars: ✭ 17 (+0%)
Mutual labels:  sms
jasmin-web-panel
📨 Jasmin Web Panel for Jasmin SMS Gateway
Stars: ✭ 33 (+94.12%)
Mutual labels:  sms
RomanceBreaker
Python script which sends a custom morning message to your significant other every morning at a given time range on Facebook Messenger, WhatsApp, Telegram or SMS, for lazy people
Stars: ✭ 36 (+111.76%)
Mutual labels:  sms
vonage-node-code-snippets
NodeJS code examples for using Nexmo
Stars: ✭ 46 (+170.59%)
Mutual labels:  sms
ohd
Garage Door Monitor (OverHeadDoor) - Python3, Raspbian
Stars: ✭ 126 (+641.18%)
Mutual labels:  sms
macos-receiver
A MacOS TabBar (StatusBar) application that securely receives one-time passwords (OTPs) that you tapped in Raivo for iOS.
Stars: ✭ 44 (+158.82%)
Mutual labels:  receiver
go-mitake
A Mitake SMS library for Golang
Stars: ✭ 15 (-11.76%)
Mutual labels:  sms
sms
高可用短信微服务
Stars: ✭ 57 (+235.29%)
Mutual labels:  sms
playercast
Cast to media player and control playback remotely.
Stars: ✭ 46 (+170.59%)
Mutual labels:  receiver

SGIP 1.2

Build Status Go Report Card codecov

go_sgip是为SP设计实现的SGIP 1.2协议开发工具包。包括sgip协议包和命令行工具。

安装

go get github.com/yedamao/go_sgip/...
cd $GOPATH/src/github.com/yedamao/go_sgip && make

Sgip协议包

support operation

  • Bind
  • BindResp
  • Unbind
  • UnbindResp
  • Submit
  • SubmitResp
  • Deliver
  • DeliverResp
  • Report
  • ReportResp

transmitter

receiver

Example

参照cmd/transmitter/main.go, cmd/receiver/main.go

命令行工具

transmitter

使用短链接提交短信

Usage of ./bin/transmitter:
  -area-code string
        长途区号 (default "010")
  -corp-id string
        5位企业代码 (default "00000")
  -dest-number string
        接收手机号码, 86..., 多个使用,分割
  -host string
        SMSC host (default "localhost")
  -msg string
        短信内容
  -name string
        Login Name
  -passwd string
        Login Password
  -port int
        SMSC port (default 8801)
  -service-type string
        业务代码,由SP定义
  -sp-number string
        SP的接入号码

mockserver

SMG短信网关模拟器

Usage of ./bin/mockserver:
  -addr string
        监听地址 (default ":8801")

receiver

负责接收运营商上行短信及状态消息

Usage of ./bin/receiver:
  -addr string
        上行监听地址 (default ":8001")
  -count int
        worker 数量 (default 5)

mockclient

模拟SMG向SP提交上行消息

Usage of ./bin/mockclient:
  -host string
        SP receiver host (default "localhost")
  -msg string
        短信内容
  -name string
        Login Name
  -passwd string
        Login Password
  -port int
        SP receiver port (default 8001)
  -sleep int
        sleep some seconds after receive Deliver response (default 1)
  -sp-number string
        SP的接入号码
  -user-number string
        发送短消息的用户手机号,手机号码前加“86”国别标志
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].