idea for interface for different communication methods text/json

This is merely an idea/prototype ... thought id send it over for you to look at ... i get this error:

./main.go:54: com.GenerateRequest undefined (type *communicator.Communicator has no field or method GenerateRequest)
./main.go:59: com.GenerateRequest undefined (type *communicator.Communicator has no field or method GenerateRequest)
./main.go:81: com.ProcessResponse undefined (type *communicator.Communicator has no field or method ProcessResponse)

its late and I'm tired so I can't figure out why ... but look this over and let me know your thoughts. Thanks