package rpc type RPCMessage func() ([]string, string, []interface{}) func MakeRPCMessage(targets []string, method string, params []interface{}) RPCMessage { return func() ([]string, string, []interface{}) { return targets, method, params } }