code: func (h serverInfoHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
  	do, err := session.GetDomain(h.Store.(kv.Storage))
  	if err != nil {
  		writeError(w, errors.New("create session error"))
  		log.Error(err)
  		return
  	}
  	info := serverInfo{}
  	info.ServerInfo = do.InfoSyncer().GetServerInfo()
  	info.IsOwner = do.DDL().OwnerManager().IsOwner()
  	writeData(w, info)
  }
docs: // ServeHTTP handles request of ddl server info.