Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PRE = map[string]any{
"Host": "127.0.0.1",
"Username": "",
"Password": "",
"Port": 6379,
}
View Source
var PROD = map[string]any{
"Host": "127.0.0.1",
"Username": "",
"Password": "",
"Port": 6379,
}
View Source
var Resources = []*biz.Resource{ { Keyword: "Redis", Description: "redis中间件配置信息", Fields: "Host,Username,Password,Port", Private: proto.Bool(false), Tag: "redis", ResourceValue: []*biz.ResourceValue{ { EnvID: env.TEST, Value: util.MarshalString(map[string]any{ "Host": "127.0.0.1", "Username": "", "Password": "", "Port": 6379, }), }, { EnvID: env.PRE, Value: util.MarshalString(map[string]any{ "Host": "127.0.0.1", "Username": "", "Password": "", "Port": 6379, }), }, { EnvID: env.PROD, Value: util.MarshalString(map[string]any{ "Host": "127.0.0.1", "Username": "", "Password": "", "Port": 6379, }), }, }, }, }
View Source
var TEST = map[string]any{
"Host": "127.0.0.1",
"Username": "",
"Password": "",
"Port": 6379,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.