-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunct.go
27 lines (24 loc) · 1.01 KB
/
funct.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package infra
// FuncType - identifier type for one of our configure functions
type FuncType int
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
)