sms

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(accessKeyId, accessKeySecret, signName, monitorTemplateCode string, bundle *bundle.Bundle) subscriber.Subscriber

Types

type MobileData

type MobileData struct {
	Template string            `json:"template"`
	Params   map[string]string `json:"params"`
	OrgID    int64             `json:"orgID"`
}

type MobileSubscriber

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

func (*MobileSubscriber) Name

func (d *MobileSubscriber) Name() string

func (*MobileSubscriber) Publish

func (d *MobileSubscriber) Publish(dest string, content string, time int64, msg *types.Message) []error

func (*MobileSubscriber) Status

func (d *MobileSubscriber) Status() interface{}

type Option

type Option func(*MobileSubscriber)

Jump to

Keyboard shortcuts

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