sms

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(bundle *bundle.Bundle) subscriber.Subscriber

Types

type MBoxData

type MBoxData struct {
	Template      string            `json:"template"`
	Params        map[string]string `json:"params"`
	OrgID         int64             `json:"orgID"`
	Label         string            `json:"label"`
	DeduplicateID string            `json:"deduplicateId"`
}

type MBoxSubscriber

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

func (*MBoxSubscriber) Name

func (d *MBoxSubscriber) Name() string

func (*MBoxSubscriber) Publish

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

func (*MBoxSubscriber) Status

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

type Option

type Option func(*MBoxSubscriber)

Jump to

Keyboard shortcuts

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