Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailedVerification = errors.New("failed verification")
View Source
var ErrNilConfig = errors.New("cannot override nil config")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ProcessTopic string
}
Config represents the monitor configuration structure.
type HandleProcessError ¶
type HandleProcessError struct {
// contains filtered or unexported fields
}
func NewHandleProcessError ¶
func NewHandleProcessError(msg string, err error) *HandleProcessError
func (HandleProcessError) Error ¶
func (e HandleProcessError) Error() string
type MonitorSubscriber ¶
type MonitorSubscriber struct {
// contains filtered or unexported fields
}
MonitorSubscriber represents a subscriber for monitoring.
func NewMonitorSubscriber ¶
func NewMonitorSubscriber( cfg *Config, log logger.Logger, sub message.Subscriber, router *message.Router, monitorPub publisher.MonitorPublisher, ) (*MonitorSubscriber, error)
NewMonitorSubscriber creates a new MonitorSubscriber instance.
func (*MonitorSubscriber) RegisterProcessHandler ¶
func (s *MonitorSubscriber) RegisterProcessHandler()
RegisterProcessHandler registers the process handler for the monitor subscriber.
type MonitorSubscriberError ¶
type MonitorSubscriberError struct {
// contains filtered or unexported fields
}
func NewMonitorSubscriberError ¶
func NewMonitorSubscriberError(msg string, err error) *MonitorSubscriberError
func (MonitorSubscriberError) Error ¶
func (e MonitorSubscriberError) Error() string
Click to show internal directories.
Click to hide internal directories.