model

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSFlag

type FSFlag struct {
	FlagId       string
	DefaultKey   string
	DefaultValue interface{}
}

type FSUser

type FSUser struct {
	UserId     string
	Attributes map[string]interface{}
}

type FSVariation

type FSVariation struct {
	Key   string
	Value interface{}
}

func (*FSVariation) ToBoolean

func (fsv *FSVariation) ToBoolean() (FSVariation, error)

func (*FSVariation) ToDouble

func (fsv *FSVariation) ToDouble() (FSVariation, error)

func (*FSVariation) ToInteger

func (fsv *FSVariation) ToInteger() (FSVariation, error)

func (*FSVariation) ToMap

func (fsv *FSVariation) ToMap() (FSVariation, error)

func (*FSVariation) ToString

func (fsv *FSVariation) ToString() (FSVariation, error)

type SDKConfig

type SDKConfig struct {
	SDKId       string
	SDKSecret   string
	Environment string
}

TODO: It will be initialized once, one should never be able to initialize it again or change the attributes

func NewSDKConfig

func NewSDKConfig(sdkId string, sdkSecret string, env *enums.Environment) *SDKConfig

Jump to

Keyboard shortcuts

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