Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) Open ¶
func (d *Database) Open(dbConfig DatabaseConfig) error
type DatabaseConfig ¶
type HeartbeatSaver ¶
type HeartbeatSaver struct { natsservice.NatsService // contains filtered or unexported fields }
HeartbeatSaver listens to com.plugis.heartbeat.Sent events and saves events in a database
func (*HeartbeatSaver) Logger ¶
func (svc *HeartbeatSaver) Logger() *logrus.Entry
type HeartbeatSender ¶
type HeartbeatSender struct { natsservice.NatsService Period int RandomPeriod int // contains filtered or unexported fields }
func (*HeartbeatSender) Logger ¶
func (svc *HeartbeatSender) Logger() *logrus.Entry
func (*HeartbeatSender) Run ¶
func (svc *HeartbeatSender) Run(ctx context.Context, params ...interface{}) error
func (*HeartbeatSender) SendHeartbeatEvent ¶
func (svc *HeartbeatSender) SendHeartbeatEvent(ctx context.Context) error
type HeartbeatWebInterface ¶ added in v0.1.14
type HeartbeatWebInterface struct { natsservice.NatsService // contains filtered or unexported fields }
HeartbeatWebInterface exposes com.plugis.heartbeat.Sent events that are saved in the database
Click to show internal directories.
Click to hide internal directories.