sms

package
v0.0.0-...-72abcba Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	Status     string `json:"status"`
	StatusCode string `json:"status_code"`
}

type Service

type Service interface {
	Send(notice models.SchedulerNotice) (error, string)
}

type SmsRu

type SmsRu struct {
	SmsApiId string
}

func NewSms

func NewSms(smsApiId string) *SmsRu

func (*SmsRu) Send

func (s *SmsRu) Send(notice models.SchedulerNotice) (error, string)

Jump to

Keyboard shortcuts

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