gatewayapi

package
v0.0.0-...-425bf4c Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package gatewayapi implements functions for sending sms using GatewayAPI (www.gatewayapi.com) as service provider You need a GatewayAPI subscription to be able to send sms

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConfigType string
	URL        string
	// contains filtered or unexported fields
}

Config for GatewayAPI sms service

func NewConfig

func NewConfig(key string, secret string, sender string) Config

NewConfig returns a new Config

func (Config) SendNotification

func (c Config) SendNotification(msg string, recipient uint64) error

SendNotification sends msg to recipient as SMS

Jump to

Keyboard shortcuts

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