ing
This commit is contained in:
7
internal/rpc/message.go
Normal file
7
internal/rpc/message.go
Normal file
@@ -0,0 +1,7 @@
|
||||
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 }
|
||||
}
|
||||
Reference in New Issue
Block a user