code: func Serve(host string, handler Function, timeout int) error {
  
  	l, err := net.Listen("tcp", host)
  	if err != nil {
  		return err
  	}
  	defer l.Close()
  
  	for {
  		// Wait for a connection.
  		conn, err := l.Accept()
  		if err != nil {
  			log.Println(err)
  			continue
  		}
  
  		// Handle the connection in a new goroutine.
  		go process(conn, handler, timeout)
  	}
  }
docs: // Serve starts a remote function server. Incomming requests should be handled
  // by the given Function. This version of Serve doesn't work with AddRoute.