Documentation
¶
Overview ¶
Package utils //
Index ¶
Constants ¶
const DefaultBatchSize = 10
DefaultBatchSize holds the default value for the batch size
const DefaultEventFlushInterval = 1 * time.Second
DefaultEventFlushInterval holds the default value for the event flush interval
const DefaultEventQueueSize = 10000
DefaultEventQueueSize holds the default value for the event queue size
const DefaultOdpEventTimeout = 10 * time.Second
DefaultOdpEventTimeout holds the default value for the odp event timeout
const DefaultSegmentFetchTimeout = 10 * time.Second
DefaultSegmentFetchTimeout holds the default value for the segment fetch timeout
const DefaultSegmentsCacheSize = 10000
DefaultSegmentsCacheSize holds the default value for the segments cache size
const DefaultSegmentsCacheTimeout = 10 * time.Minute // 10 minutes
DefaultSegmentsCacheTimeout holds the default value for the segments cache timeout
const ODPEventsAPIEndpointPath = "/v3/events"
ODPEventsAPIEndpointPath defines the endpoint path for events api
const OdpAPIKeyHeader = "x-api-key"
OdpAPIKeyHeader defines key for designating the ODP API public key
const OdpActionIdentified = "identified"
OdpActionIdentified holds the value for identified action type
const OdpEventType = "fullstack"
OdpEventType holds the value for the odp event type
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.