Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/kahlys/sms

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/kahlys/sms

  • v0.0.0-20181206143946-558d98355b2e
  • Source
  • Go
  • Socket score

Version published
Created
Source

Golang SMS-API Wrapper

godoc build status go report Coverage Status

This package provides a generic interface around some api-sms wrappers in order

Instalation

With a correctly configured Go toolchain:

$ go get github.com/kahlys/sms
$ go get github.com/kahlys/driver/<drivername>

Drivers

Examples

Mobimel

import (
    "github/kahlys/sms"
    _ "github/kahlys/sms/driver/mobimel"
)

func main() {
    param := map[string]string{
        "login":"bruce", 
        "password": "91939", 
        "sender": "wayne",
    }
    sender, _ := sms.Init("mobimel", param)
    sender.Send("Meet me at the roof !", "+33666666666")
}

OVH

import (
    "github.com/kahlys/sms"
    _ "github.com/kahlys/sms/driver/ovh"
)

func main() {
    param := map[string]string{
        "account":"sms-xx4242-7",
        "login":"bruce", 
        "password": "91939", 
        "sender": "wayne",
    }
    sender, _ := sms.Init("ovh", param)
    sender.Send("Meet me at the roof !", "+33666666666")
}

FAQs

Package last updated on 06 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc