Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FunctionNotExist - not founded function for configuring FunctionNotExist = -1 // FunctionSetupEnvironment - identifier function configuration your structure FunctionSetupEnvironment = iota // FunctionSetupHocon - function configuring from hocon FunctionSetupHocon = iota // FunctionSetupJSON - function configuring from json FunctionSetupJSON = iota // FunctionSetupYaml - function configuring from yaml FunctionSetupYaml = iota FunctionSetupIni = iota FunctionSetupToml = iota // FunctionSetupDefault - function configuring from default values FunctionSetupDefault = iota // FunctionSetupVault - function configuring from vault secured backend FunctionSetupVault = iota // FunctionSetupConfigServer - function configuring by any types (json, yaml, hocon, toml, txt...) from configuring server with settings FunctionSetupConfigServer = iota FunctionKeyValueServer = iota )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoStructorValue ¶
GoStructorValue - it's main type which using by this library. Current preparing field contain in this type and if field structure doesn't prepared that will be contain special noValue interface.
func NewGoStructorNoValue ¶
func NewGoStructorNoValue(value interface{}, err error) GoStructorValue
NewGoStructorNoValue - generate new GoStructorValue with error handling value
func NewGoStructorTrueValue ¶
func NewGoStructorTrueValue(value reflect.Value) GoStructorValue
NewGoStructorTrueValue - generate new GoStructorValue with completed preparing field
func (GoStructorValue) CheckIsValue ¶
func (gostructvalue GoStructorValue) CheckIsValue() bool
CheckIsValue - check that inserted in GoStructorValue is valid value // TODO: Upgrade in future
func (GoStructorValue) GetNotAValue ¶
func (gostructvalue GoStructorValue) GetNotAValue() *NotAValue
GetNotAValue - getting interface of can not install value
Click to show internal directories.
Click to hide internal directories.