testutils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSdkIdContextParam added in v0.4.2

func AddSdkIdContextParam(r *http.Request)

func AddSdkIdContextParamWithSdkId added in v0.4.2

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

func NewTestRegistrar added in v0.5.0

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

func NewTestRegistrarT added in v0.5.0

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

func NewTestRegistrarTWithErrorServer added in v0.5.0

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

func NewTestRegistrarTWithStatusReporter added in v0.5.0

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

func NewTestRegistrarWithStatusReporter added in v0.5.0

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