refactoring barak

This commit is contained in:
Jae Kwon
2015-04-14 12:27:32 -07:00
parent 89e05168d5
commit dcdf74ccc2
4 changed files with 65 additions and 63 deletions

View File

@ -9,6 +9,10 @@ import (
)
func main() {
// XXX Need to get PrivAccount somehow to sign the request.
// XXX Actually, more like, how do I even sign these?
// XXX Let's just sign it janky for now and modify later.
response := []btypes.ResponseListProcesses{}
response2, err := rpc.Call("http://127.0.0.1:8082", "list_processes", Arr(), &response)
fmt.Printf("%v\n", response)