Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrListener ¶
type ErrListener func(err error, r *subscription)
ErrListener is for catching errors that happen in the background trying to send messages to slack
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service orchestrates sending notifications defined in YANG to slack
func NewService ¶
NewService is constructor. Device can be local or remote device
func (*Service) OnError ¶
func (s *Service) OnError(l ErrListener) nodeutil.Subscription
OnError is for errors that happen in the background trying to send messages to slack
Click to show internal directories.
Click to hide internal directories.