Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogHandler ¶
type LogHandler struct {
Delay int
Try int
SendTime int
loggy.Loggy
notify.Notifier
connector.Connector
LastLogs chan string
}
LogHandler can store last log and send notify
func (*LogHandler) Handle ¶
func (h *LogHandler) Handle(accident string)
Handle is Loghandler's Handle implement
type SentryHandler ¶
type SentryHandler struct {
}
SentryHandler handle the accident to sentry DSN
func NewSentryHandler ¶
func NewSentryHandler(options sentry.ClientOptions) *SentryHandler
NewSentryHandler to init sentry hub
func (*SentryHandler) Handle ¶
func (sh *SentryHandler) Handle(accident string)
Handle is SentryHandler implement
Click to show internal directories.
Click to hide internal directories.