parent
							
								
									121613f136
								
							
						
					
					
						commit
						47d9d7376d
					
				| 
						 | 
					@ -70,7 +70,7 @@ func main() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		blog.SetAuditLogger(auditlogger)
 | 
							blog.SetAuditLogger(auditlogger)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		go cmd.DebugServer("localhost:8080")
 | 
							go cmd.DebugServer(c.Monolith.DebugAddr)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		// Run StatsD profiling
 | 
							// Run StatsD profiling
 | 
				
			||||||
		go cmd.ProfileCmd("Monolith", stats)
 | 
							go cmd.ProfileCmd("Monolith", stats)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -79,6 +79,11 @@ type Config struct {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	CA ca.Config
 | 
						CA ca.Config
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						Monolith struct {
 | 
				
			||||||
 | 
							// DebugAddr is the address to run the /debug handlers on.
 | 
				
			||||||
 | 
							DebugAddr string
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	RA struct {
 | 
						RA struct {
 | 
				
			||||||
		// DebugAddr is the address to run the /debug handlers on.
 | 
							// DebugAddr is the address to run the /debug handlers on.
 | 
				
			||||||
		DebugAddr string
 | 
							DebugAddr string
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -105,6 +105,10 @@
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  "monolith": {
 | 
				
			||||||
 | 
					    "debugAddr": "localhost:8008"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  "ra": {
 | 
					  "ra": {
 | 
				
			||||||
    "debugAddr": "localhost:8002"
 | 
					    "debugAddr": "localhost:8002"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue