sms

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 17 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, messenger pb.NotifyServiceServer, org org.Interface) 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