start writing rpc

This commit is contained in:
Jae Kwon
2014-11-30 18:31:44 -08:00
parent 8e9c060e6d
commit 4424a85fbd
6 changed files with 133 additions and 2 deletions

View File

@ -9,8 +9,7 @@ import (
func StartHTTPServer() {
//http.HandleFunc("/path", handler)
//http.HandleFunc("/path", handler)
http.HandleFunc("/block", BlockHandler)
// Serve HTTP on localhost only.
// Let something like Nginx handle HTTPS connections.