providers

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	SendText(text *string) error
	SendFile(fileName *string, data *[]byte) error
	Close() error
}

type Providers

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

func New

func New(rateLimit int, delay int) (*Providers, error)

func (*Providers) SendFile

func (p *Providers) SendFile(fileName *string, data *[]byte, delay *uint) error

func (*Providers) SendText

func (p *Providers) SendText(text *string, delay *uint) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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