-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.prod.go
executable file
·81 lines (56 loc) · 1.12 KB
/
install.prod.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// +build prod
package main
//bindConf 绑定启动配置, 启动时检查注册中心配置是否存在,不存在则引导用户输入配置参数并自动创建到注册中心
<<<<<<< HEAD
func init() {
app.Conf.API.SetMainConf(`{"address":":9090"}`)
=======
func (s *smartcar) install() {
//api.port#//
s.Conf.API.SetMainConf(`{"address":":9090"}`)
//#api.port//
//api.appconf#//
//#api.appconf//
//api.cros#//
//#api.cros//
//api.jwt.prod#//
//#api.jwt.prod//
//api.metric#//
//#api.metric//
//db#//
//#db//
//cache#//
//#cache//
//queue#//
//#queue//
//cron.appconf#//
//#cron.appconf//
//cron.task#//
//#cron.task//
//cron.metric#//
//#cron.metric//
//mqc.server#//
//#mqc.server//
//mqc.queue#//
//#mqc.queue//
//mqc.metric#//
//#mqc.metric//
//web.port#//
//#web.port//
//web.static#//
//#web.static//
//web.metric#//
//#web.metric//
//ws.appconf#//
//#ws.appconf//
//ws.jwt#//
//#ws.jwt//
//ws.metric#//
//#ws.metric//
//rpc.port#//
//#rpc.port//
//rpc.metric#//
//#rpc.metric//
//自定义安装程序
>>>>>>> 52aa60155e5e9be12fc7e6bb1ac88e9c120d87b3
}