utils

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package utils //

Index

Constants

View Source
const DefaultBatchSize = 10

DefaultBatchSize holds the default value for the batch size

View Source
const DefaultEventFlushInterval = 1 * time.Second

DefaultEventFlushInterval holds the default value for the event flush interval

View Source
const DefaultEventQueueSize = 10000

DefaultEventQueueSize holds the default value for the event queue size

View Source
const DefaultOdpEventTimeout = 10 * time.Second

DefaultOdpEventTimeout holds the default value for the odp event timeout

View Source
const DefaultSegmentFetchTimeout = 10 * time.Second

DefaultSegmentFetchTimeout holds the default value for the segment fetch timeout

View Source
const DefaultSegmentsCacheSize = 10000

DefaultSegmentsCacheSize holds the default value for the segments cache size

View Source
const DefaultSegmentsCacheTimeout = 10 * time.Minute // 10 minutes

DefaultSegmentsCacheTimeout holds the default value for the segments cache timeout

View Source
const ODPEventsAPIEndpointPath = "/v3/events"

ODPEventsAPIEndpointPath defines the endpoint path for events api

View Source
const OdpAPIKeyHeader = "x-api-key"

OdpAPIKeyHeader defines key for designating the ODP API public key

View Source
const OdpActionIdentified = "identified"

OdpActionIdentified holds the value for identified action type

View Source
const OdpEventType = "fullstack"

OdpEventType holds the value for the odp event type

View Source
const OdpFSUserIDKey = "fs_user_id"

OdpFSUserIDKey holds the key for the odp fullstack/feature experimentation userID

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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