跨网络复制功能

Using Go, I am trying to write code to transfer a closure across a network from computer A to computer B to allow computer B to execute the closure. For example

Computer A:

c1 := func() { fmt.Println("Hello World") }
// somehow transfer c1 to Computer B

Computer B:

c2 := // receive closure from Computer A
c2()

With the result being to print "Hello World" on the second computer. Is anybody aware of a method for this?

You cannot do this. At least not until some fancy NaCl support is added.