Documentation ¶
Index ¶
- func Bot(botToken string) *tb.Bot
- func GetBoss(sylon *Sylon) *tb.Chat
- func Notify(message string)
- func RandStringBytesMaskImpr(n int) string
- type Chat
- type Sylon
- func (d *Sylon) CSend(msg string, options ...interface{})
- func (d *Sylon) JustSend(to tb.Recipient, msg string, options ...interface{})
- func (s *Sylon) NotifyAboutError(projectID, env, service, timestamp, key, flag string)
- func (d *Sylon) PSend(projectName string, msg string, options ...interface{})
- func (s *Sylon) RegisterHandlers()
- func (s *Sylon) Send(to tb.Recipient, msg string, options ...interface{}) (*tb.Message, error)
- func (s *Sylon) VerifySender(m *tb.Message) (*models.Project, *models.Chat, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandStringBytesMaskImpr ¶
Types ¶
type Sylon ¶
type Sylon struct { Log *zap.Logger R *sqlx.DB Config *storage.InternalConfig B *tb.Bot Chat *tb.Chat Cache caching.Cache }
func (*Sylon) NotifyAboutError ¶
func (*Sylon) RegisterHandlers ¶
func (s *Sylon) RegisterHandlers()
Click to show internal directories.
Click to hide internal directories.