testutils

package
v0.0.0-...-7be5f68 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSdkIdContextParam

func AddSdkIdContextParam(r *http.Request)

func AddSdkIdContextParamWithSdkId

func AddSdkIdContextParamWithSdkId(r *http.Request, sdkId string)

func NewTestRegistrar

func NewTestRegistrar(conf *config.SDKConfig, cache configcat.ConfigCache) sdk.Registrar

func NewTestRegistrarT

func NewTestRegistrarT(t *testing.T) (sdk.Registrar, *configcattest.Handler, string)

func NewTestRegistrarTWithErrorServer

func NewTestRegistrarTWithErrorServer(t *testing.T) sdk.Registrar

func NewTestRegistrarTWithStatusReporter

func NewTestRegistrarTWithStatusReporter(t *testing.T, reporter status.Reporter) (sdk.Registrar, *configcattest.Handler, string)

func NewTestRegistrarWithStatusReporter

func NewTestRegistrarWithStatusReporter(conf *config.SDKConfig, cache configcat.ConfigCache, reporter status.Reporter) sdk.Registrar

func NewTestSdkClient

func NewTestSdkClient(t *testing.T) (map[string]sdk.Client, *configcattest.Handler, string)

func NewTestSdkContext

func NewTestSdkContext(conf *config.SDKConfig, cache configcat.ConfigCache) *sdk.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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