Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineService ¶
type LineService struct {
// contains filtered or unexported fields
}
func NewLineService ¶
func NewLineService(httpClient *http.Client, apiKey string) *LineService
func (*LineService) SendMessage ¶
func (l *LineService) SendMessage(message string) error
type MessagingService ¶
func NewMessageService ¶
func NewMessageService(conf config.Config, lineService *LineService, telegramService *TelegramService) MessagingService
type TelegramService ¶
type TelegramService struct {
// contains filtered or unexported fields
}
func NewTelegramService ¶
func NewTelegramService(httpClient *http.Client, botToken string, chatId string) *TelegramService
func (*TelegramService) SendMessage ¶
func (t *TelegramService) SendMessage(message string) error
Click to show internal directories.
Click to hide internal directories.