Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OverrideUserAgent ¶ added in v0.1.1
func OverrideUserAgent(transport http.RoundTripper) http.RoundTripper
Types ¶
type Client ¶
type Client interface { Eval(key string, user UserAttrs) (EvalData, error) EvalAll(user UserAttrs) map[string]EvalData Keys() []string GetCachedJson() *store.EntryWithEtag SubConfigChanged(id string) <-chan struct{} UnsubConfigChanged(id string) Ready() <-chan struct{} Refresh() error Close() WebhookSigningKey() string WebhookSignatureValidFor() int }
type Context ¶
type Context struct { SdkId string SDKConf *config.SDKConfig ProxyConf *config.HttpProxyConfig CacheConf *config.CacheConfig GlobalDefaultAttrs UserAttrs MetricsHandler metrics.Handler StatusReporter status.Reporter EvalReporter statistics.Reporter }
Click to show internal directories.
Click to hide internal directories.