Help us shape the future of Go! Take the 2026 Go Developer Survey

dispatcher

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

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

func (*Dispatcher) SendAnnouncement

func (dp *Dispatcher) SendAnnouncement(announcementData communityv1alpha1.AnnouncementSpec)

func (*Dispatcher) SendMeetup

func (dp *Dispatcher) SendMeetup(meetupData communityv1alpha1.MeetupSpec)

func (*Dispatcher) SendWeekly

func (dp *Dispatcher) SendWeekly(weeklyData communityv1alpha1.WeeklySpec)

func (*Dispatcher) Start

func (dp *Dispatcher) Start()

type TelegramDispatcher

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

func (*TelegramDispatcher) SendImage

func (t *TelegramDispatcher) SendImage(url string, chatType string) (int, error)

func (*TelegramDispatcher) SendMessage

func (t *TelegramDispatcher) SendMessage(output bytes.Buffer, chatType string) (int, error)

func (*TelegramDispatcher) Start

func (t *TelegramDispatcher) Start(token string, credential string)

type TwitterDispatcher

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

func (*TwitterDispatcher) DeleteEmpty

func (t *TwitterDispatcher) DeleteEmpty(msg []string) []string

func (*TwitterDispatcher) ReplyMessage

func (t *TwitterDispatcher) ReplyMessage(msg string, statusId int64) (int64, error)

func (*TwitterDispatcher) SendMessage

func (t *TwitterDispatcher) SendMessage(msg string) (int64, error)

func (*TwitterDispatcher) SplitMessage

func (t *TwitterDispatcher) SplitMessage(msg []string) []string

func (*TwitterDispatcher) Start

func (t *TwitterDispatcher) Start(apiKey string, apiSecretKey string, accessToken string, accessTokenSecret string)

Jump to

Keyboard shortcuts

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