Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DatabaseAddress string `toml:"database_address"` DatabaseName string `toml:"database_name"` NATSClusterID string `toml:"nats_cluster_id"` NATSURL string `toml:"nats_url"` NATSClientID string `toml:"nats_client_id"` Subscribes []string `toml:"subscribes"` }
Config of EventLogger service.
type EventLogger ¶
type EventLogger struct {
// contains filtered or unexported fields
}
EventLogger defines event logging NATS subscriber service.
func NewEventLogger ¶
func NewEventLogger(log *zap.Logger, config *Config, eventsStreaming *event.EventsStreaming, eventRepository event.Repository) *EventLogger
NewEventLogger returns new event logging service.
Click to show internal directories.
Click to hide internal directories.