providers

package
v0.0.0-...-b4e4ed2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Name    string
	BaseURL string
}

Provider is a struct which contains some properties about a provider.

type Providers

type Providers interface {
	GetProvider() Provider
	GetNumbers() ([]string, error)
	GetMessages(number string) ([]string, error)
}

Providers is the interface where all providers need to confirm to.

type SMSReceiveFree

type SMSReceiveFree struct {
}

func (SMSReceiveFree) GetMessages

func (p SMSReceiveFree) GetMessages(number string) ([]string, error)

func (SMSReceiveFree) GetNumbers

func (p SMSReceiveFree) GetNumbers() ([]string, error)

func (SMSReceiveFree) GetProvider

func (p SMSReceiveFree) GetProvider() Provider

type Upmasked

type Upmasked struct {
}

func (Upmasked) GetMessages

func (p Upmasked) GetMessages(number string) ([]string, error)

func (Upmasked) GetNumbers

func (p Upmasked) GetNumbers() ([]string, error)

func (Upmasked) GetProvider

func (p Upmasked) GetProvider() Provider

Jump to

Keyboard shortcuts

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