pomelo

package module
v0.0.0-...-457fd79 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 6 Imported by: 0

README

pomelo-sdk-go

Pomelo SDK

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PomeloSDK

type PomeloSDK interface {
	SendSMS(ctx context.Context, id string, numbers []string, args map[string]string) error
}

func NewPomeloSDK

func NewPomeloSDK(opt *PomeloSDKOption) (PomeloSDK, error)

type PomeloSDKImpl

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

func (*PomeloSDKImpl) SendSMS

func (sdk *PomeloSDKImpl) SendSMS(ctx context.Context, id string, numbers []string, args map[string]string) error

type PomeloSDKOption

type PomeloSDKOption struct {
	BaseURL            string
	InsecureSkipVerify bool
}

Jump to

Keyboard shortcuts

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