bigsegments

package
v7.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package bigsegments is an internal package containing implementation details for the SDK's Big Segment functionality, not including the part that is in go-server-sdk-evaluation. These are not visible from outside of the SDK.

This does not include implementations of specific Big Segment store integrations such as Redis. Those are implemented in separate repositories such as https://github.com/launchdarkly/go-server-sdk-redis-redigo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashForContextKey

func HashForContextKey(key string) string

HashForContextKey computes the hash that we use in the Big Segment store. This function is exported for use in LDClient tests.

func NewBigSegmentStoreStatusProviderImpl

func NewBigSegmentStoreStatusProviderImpl(
	getStatusFn func() interfaces.BigSegmentStoreStatus,
	broadcaster *internal.Broadcaster[interfaces.BigSegmentStoreStatus],
) interfaces.BigSegmentStoreStatusProvider

NewBigSegmentStoreStatusProviderImpl creates the internal implementation of BigSegmentStoreStatusProvider. The manager parameter can be nil if there is no Big Segment store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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