Documentation ¶
Index ¶
- type NotifierContext
- type NotifierParams
- type SystemNotifier
- func (notifier *SystemNotifier) GetNotificator() chan NotifierContext
- func (notifier *SystemNotifier) NotifyInChat(chatId types.ChatId, params NotifierParams)
- func (notifier *SystemNotifier) NotifyInChatWithContext(chatId types.ChatId, context interface{}, params NotifierParams)
- func (notifier *SystemNotifier) Restart()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotifierContext ¶
type NotifierContext struct { ChatId types.ChatId Message types.Message Params NotifierParams }
type NotifierParams ¶
type NotifierParams struct {
Time string
}
type SystemNotifier ¶
type SystemNotifier struct {
// contains filtered or unexported fields
}
func NewSystemNotifier ¶
func NewSystemNotifier() *SystemNotifier
func (*SystemNotifier) GetNotificator ¶
func (notifier *SystemNotifier) GetNotificator() chan NotifierContext
func (*SystemNotifier) NotifyInChat ¶
func (notifier *SystemNotifier) NotifyInChat(chatId types.ChatId, params NotifierParams)
func (*SystemNotifier) NotifyInChatWithContext ¶
func (notifier *SystemNotifier) NotifyInChatWithContext(chatId types.ChatId, context interface{}, params NotifierParams)
func (*SystemNotifier) Restart ¶
func (notifier *SystemNotifier) Restart()
Click to show internal directories.
Click to hide internal directories.