Documentation ¶
Index ¶
- func NewFileLogger(filename string) (analytics.Module, error)
- type FileLogger
- func (f *FileLogger) LogAmpObject(ao *analytics.AmpObject)
- func (f *FileLogger) LogAuctionObject(ao *analytics.AuctionObject)
- func (f *FileLogger) LogCookieSyncObject(cso *analytics.CookieSyncObject)
- func (f *FileLogger) LogNotificationEventObject(ne *analytics.NotificationEvent)
- func (f *FileLogger) LogSetUIDObject(so *analytics.SetUIDObject)
- func (f *FileLogger) LogVideoObject(vo *analytics.VideoObject)
- type RequestType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileLogger ¶
Module that can perform transactional logging
func (*FileLogger) LogAmpObject ¶
func (f *FileLogger) LogAmpObject(ao *analytics.AmpObject)
Logs AmpObject to file
func (*FileLogger) LogAuctionObject ¶
func (f *FileLogger) LogAuctionObject(ao *analytics.AuctionObject)
Writes AuctionObject to file
func (*FileLogger) LogCookieSyncObject ¶
func (f *FileLogger) LogCookieSyncObject(cso *analytics.CookieSyncObject)
Logs CookieSyncObject to file
func (*FileLogger) LogNotificationEventObject ¶
func (f *FileLogger) LogNotificationEventObject(ne *analytics.NotificationEvent)
Logs NotificationEvent to file
func (*FileLogger) LogSetUIDObject ¶
func (f *FileLogger) LogSetUIDObject(so *analytics.SetUIDObject)
Logs SetUIDObject to file
func (*FileLogger) LogVideoObject ¶
func (f *FileLogger) LogVideoObject(vo *analytics.VideoObject)
Writes VideoObject to file
type RequestType ¶
type RequestType string
const ( COOKIE_SYNC RequestType = "/cookie_sync" AUCTION RequestType = "/openrtb2/auction" VIDEO RequestType = "/openrtb2/video" SETUID RequestType = "/set_uid" AMP RequestType = "/openrtb2/amp" NOTIFICATION_EVENT RequestType = "/event" )
Click to show internal directories.
Click to hide internal directories.