model

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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