filesystem

package
v0.0.0-...-f16c7e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

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

type FileLogger struct {
	Logger *glog.Logger
}

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL