Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct { Events []events.Event `json:"events,omitempty"` Token string `json:"token,omitempty"` ProcessorType string `json:"processor_type,omitempty"` RequestContext *events.RequestContext `json:"request_context,omitempty"` }
Record is a dto for saving serialized input events with token and processor type
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a write-ahead-log service that collects events when the application is in idle mode (see appstatus.AppStatus) and stores them into log file when the application isn't in idle mode - process log file and store events
func NewService ¶
func NewService(logEventPath string, logger logging.ObjectLogger, multiplexingService *multiplexing.Service, processorHolder *events.ProcessorHolder) *Service
NewService returns configured Service and starts goroutine for handling write-ahead-log
Click to show internal directories.
Click to hide internal directories.