smsapi

package module
v0.0.0-...-41b255d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2016 License: MIT Imports: 7 Imported by: 1

README

smsapi-go

Build Status Code Climate Coverage Status GoDoc License

Go utils for working with SMSAPI service. This is not stable release, PLEASE DO NOT USING IT ON PRODUCTION

Examples

All examples are already in example directory

Install

$ go get github.com/SebastianCzoch/smsapi-go

or via Godep

$ godep get github.com/SebastianCzoch/smsapi-go

API

New(username, password string) *Client

Return a pointer to new smsapi client

(c *Client) SendEcoSMS(to, body string) error

Send Eco sms to selected phone number with specified message

Tests

$ go test ./...

License

MIT

Support

Issues for this project should be reported on GitHub issues

Staff responsible for project:

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a basic struct for this library

func New

func New(username, password string) *Client

New is a function which returns new Client struct

func (*Client) SendEcoSMS

func (c *Client) SendEcoSMS(to, body string) error

SendEcoSMS is a method which is sending single SMS

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL