code: func (c *controller) StartDiagnostic(port int) {
  	c.Lock()
  	if !c.DiagnosticServer.IsDiagnosticEnabled() {
  		c.DiagnosticServer.EnableDiagnostic("127.0.0.1", port)
  	}
  	c.Unlock()
  }
docs: // StartDiagnostic start the network dias mode