Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileLogger ¶
func NewFileLogger(filename string) (analytics.PBSAnalyticsModule, error)
Method to initialize the analytic module
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) LogSetUIDObject ¶
func (f *FileLogger) LogSetUIDObject(so *analytics.SetUIDObject)
Logs SetUIDObject to file
type RequestType ¶
type RequestType string
const ( COOKIE_SYNC RequestType = "/cookie_sync" AUCTION RequestType = "/openrtb2/auction" SETUID RequestType = "/set_uid" AMP RequestType = "/openrtb2/amp" )
Click to show internal directories.
Click to hide internal directories.