Documentation
¶
Index ¶
- func NewModule(client *http.Client, scope, endpoint, configRefreshDelay string, ...) (analytics.Module, error)
- func NewModuleWithConfigTask(client *http.Client, scope, endpoint string, maxEventCount int, ...) (analytics.Module, error)
- type ConfigUpdateHttpTask
- type ConfigUpdateTask
- type Configuration
- type PubstackModule
- func (p *PubstackModule) LogAmpObject(ao *analytics.AmpObject)
- func (p *PubstackModule) LogAuctionObject(ao *analytics.AuctionObject)
- func (p *PubstackModule) LogCookieSyncObject(cso *analytics.CookieSyncObject)
- func (p *PubstackModule) LogNotificationEventObject(ne *analytics.NotificationEvent)
- func (p *PubstackModule) LogSetUIDObject(so *analytics.SetUIDObject)
- func (p *PubstackModule) LogVideoObject(vo *analytics.VideoObject)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigUpdateHttpTask ¶
type ConfigUpdateHttpTask struct {
// contains filtered or unexported fields
}
ConfigUpdateHttpTask polls an HTTP endpoint on a specified interval and publishes configurations until the stop channel is signaled.
func NewConfigUpdateHttpTask ¶
func NewConfigUpdateHttpTask(httpClient *http.Client, scope, endpoint, refreshInterval string) (*ConfigUpdateHttpTask, error)
func (*ConfigUpdateHttpTask) Start ¶
func (t *ConfigUpdateHttpTask) Start(stop <-chan struct{}) <-chan *Configuration
type ConfigUpdateTask ¶
type ConfigUpdateTask interface {
Start(stop <-chan struct{}) <-chan *Configuration
}
ConfigUpdateTask publishes configurations until the stop channel is signaled.
type Configuration ¶
type PubstackModule ¶
type PubstackModule struct {
// contains filtered or unexported fields
}
func (*PubstackModule) LogAmpObject ¶
func (p *PubstackModule) LogAmpObject(ao *analytics.AmpObject)
func (*PubstackModule) LogAuctionObject ¶
func (p *PubstackModule) LogAuctionObject(ao *analytics.AuctionObject)
func (*PubstackModule) LogCookieSyncObject ¶
func (p *PubstackModule) LogCookieSyncObject(cso *analytics.CookieSyncObject)
func (*PubstackModule) LogNotificationEventObject ¶
func (p *PubstackModule) LogNotificationEventObject(ne *analytics.NotificationEvent)
func (*PubstackModule) LogSetUIDObject ¶
func (p *PubstackModule) LogSetUIDObject(so *analytics.SetUIDObject)
func (*PubstackModule) LogVideoObject ¶
func (p *PubstackModule) LogVideoObject(vo *analytics.VideoObject)
Click to show internal directories.
Click to hide internal directories.