Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserCenter = []*biz.Resource{ { Keyword: "UserCenterServer", Description: "用户中心服务配置信息", Fields: "Host,HttpPort,GrpcPort,Timeout", Private: proto.Bool(false), Tag: "server", ResourceValue: []*biz.ResourceValue{ { EnvID: env.TEST, Value: util.MarshalString(map[string]any{ "Host": "127.0.0.1", "HttpPort": 7004, "GrpcPort": 8004, "Timeout": "10s", }), }, { EnvID: env.PRE, Value: util.MarshalString(map[string]any{ "Host": "127.0.0.1", "HttpPort": 7004, "GrpcPort": 8004, "Timeout": "10s", }), }, { EnvID: env.PROD, Value: util.MarshalString(map[string]any{ "Host": "127.0.0.1", "HttpPort": 7004, "GrpcPort": 8004, "Timeout": "10s", }), }, }, }, { Keyword: "UserCenterDatabase", Description: "用户中心数据库配置信息", Fields: "Username,Password,Type,Port,Database,Option,Host", Private: proto.Bool(true), Tag: "mysql", ResourceServer: []*biz.ResourceServer{ { ServerID: server.UserCenter, }, }, ResourceValue: []*biz.ResourceValue{ { EnvID: env.TEST, Value: util.MarshalString(map[string]any{ "Username": "root", "Password": "root", "Host": "127.0.0.1", "Port": "3306", "Type": "mysql", "Database": "user_center", "Option": "?charset=utf8mb4&parseTime=True&loc=Local", }), }, { EnvID: env.PRE, Value: util.MarshalString(map[string]any{ "Username": "root", "Password": "root", "Host": "127.0.0.1", "Port": "3306", "Type": "mysql", "Database": "user_center", "Option": "?charset=utf8mb4&parseTime=True&loc=Local", }), }, { EnvID: env.PROD, Value: util.MarshalString(map[string]any{ "Username": "user_center", "Password": "Ti7MaKJJznywNBJb", "Host": "127.0.0.1", "Port": "3306", "Type": "mysql", "Database": "user_center", "Option": "?charset=utf8mb4&parseTime=True&loc=Local", }), }, }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.