code: func (s *rpcServer) standardCmdResult(cmd *parsedRPCCmd, closeChan <-chan struct{}) (interface{}, error) {
  	handler, ok := rpcHandlers[cmd.method]
  	if ok {
  		goto handled
  	}
  	_, ok = rpcAskWallet[cmd.method]
  	if ok {
  		handler = handleAskWallet
  		goto handled
  	}
  	_, ok = rpcUnimplemented[cmd.method]
  	if ok {
  		handler = handleUnimplemented
  		goto handled
  	}
  	return nil, btcjson.ErrRPCMethodNotFound
  handled:
  
  	return handler(s, cmd.cmd, closeChan)
  }
docs: // standardCmdResult checks that a parsed command is a standard Bitcoin JSON-RPC
  // command and runs the appropriate handler to reply to the command.  Any
  // commands which are not recognized or not implemented will return an error
  // suitable for use in replies.