Documentation
¶
Overview ¶
Package pkg //
Package pkg //
Index ¶
Constants ¶
View Source
const ClientName = "go-sdk"
ClientName is the name of the client
View Source
const Version = "1.0.0-beta3"
Version is the current version of the client
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectConfig ¶
type ProjectConfig interface {
GetAccountID() string
GetAnonymizeIP() bool
GetAttributeID(id string) string // returns "" if there is no id
GetAttributeByKey(key string) (entities.Attribute, error)
GetAudienceByID(string) (entities.Audience, error)
GetAudienceMap() map[string]entities.Audience
GetBotFiltering() bool
GetEventByKey(string) (entities.Event, error)
GetExperimentByKey(string) (entities.Experiment, error)
GetFeatureByKey(string) (entities.Feature, error)
GetVariableByKey(featureKey string, variableKey string) (entities.Variable, error)
GetFeatureList() []entities.Feature
GetGroupByID(string) (entities.Group, error)
GetProjectID() string
GetRevision() string
}
ProjectConfig contains the parsed project entities
type ProjectConfigManager ¶
type ProjectConfigManager interface {
GetConfig() (ProjectConfig, error)
RemoveOnProjectConfigUpdate(id int) error
OnProjectConfigUpdate(callback func(notification.ProjectConfigUpdateNotification)) (int, error)
}
ProjectConfigManager manages the config
Directories
¶
| Path | Synopsis |
|---|---|
|
Package client has client definitions Package client has client facing factories
|
Package client has client definitions Package client has client facing factories |
|
Package config // Package config //
|
Package config // Package config // |
|
datafileprojectconfig
Package datafileprojectconfig // Package datafileprojectconfig //
|
Package datafileprojectconfig // Package datafileprojectconfig // |
|
datafileprojectconfig/entities
Package entities has entity definitions
|
Package entities has entity definitions |
|
datafileprojectconfig/mappers
Package mappers ...
|
Package mappers ... |
|
Package decision // Package decision // Package decision // Package decision // Package decision // Package decision // Package decision // Package decision // Package decision //
|
Package decision // Package decision // Package decision // Package decision // Package decision // Package decision // Package decision // Package decision // Package decision // |
|
bucketer
Package bucketer //
|
Package bucketer // |
|
evaluator
Package evaluator // Package evaluator // Package evaluator //
|
Package evaluator // Package evaluator // Package evaluator // |
|
evaluator/matchers
Package matchers // Package matchers // Package matchers // Package matchers // Package matchers // Package matchers //
|
Package matchers // Package matchers // Package matchers // Package matchers // Package matchers // Package matchers // |
|
evaluator/matchers/utils
Package utils //
|
Package utils // |
|
reasons
Package reasons //
|
Package reasons // |
|
Package entities // Package entities // Package entities // Package entities // Package entities // Package entities // Package entities // Package entities //
|
Package entities // Package entities // Package entities // Package entities // Package entities // Package entities // Package entities // Package entities // |
|
Package event // Package event // Package event // Package event // Package event // Package event //
|
Package event // Package event // Package event // Package event // Package event // Package event // |
|
Package logging // Package logging // Package logging //
|
Package logging // Package logging // Package logging // |
|
Package notification // Package notification // Package notification // Package notification //
|
Package notification // Package notification // Package notification // Package notification // |
|
Package registry is the global access point for retrieving instances of services by SDK Key //
|
Package registry is the global access point for retrieving instances of services by SDK Key // |
|
Package utils // Package utils // Package utils //
|
Package utils // Package utils // Package utils // |
Click to show internal directories.
Click to hide internal directories.