Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AmqpDispatcher ¶
type AmqpDispatcher struct {
// contains filtered or unexported fields
}
func NewAmqpDispatcher ¶
func NewAmqpDispatcher(publishChanel queuePublishableChanel, queueName string, mandatorySend bool) *AmqpDispatcher
func (*AmqpDispatcher) DispatchMessage ¶
func (q *AmqpDispatcher) DispatchMessage(message interface{}) (err error)
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
func NewHandlers ¶
func NewHandlers(dispatch queueDispatcher) *Handlers
func (*Handlers) AddAlertCommand ¶
func (*Handlers) AddPositionCommand ¶
func (*Handlers) AddTelemetryCommand ¶
type Repository ¶
func NewRepository ¶
func NewRepository() (*Repository, error)
func (*Repository) UpdateLastAlertEvent ¶
func (r *Repository) UpdateLastAlertEvent(event common.AlertSignalledEvent) (err error)
func (*Repository) UpdateLastPositionEvent ¶
func (r *Repository) UpdateLastPositionEvent(event common.PositionChangedEvent) (err error)
func (*Repository) UpdateLastTelemetryEvent ¶
func (r *Repository) UpdateLastTelemetryEvent(event common.TelemetryUpdatedEvent) (err error)
Click to show internal directories.
Click to hide internal directories.