filesystem

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileLogger

func NewFileLogger(filename string) (analytics.Module, 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) 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"
)

Jump to

Keyboard shortcuts

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