|
|
@@ -15,7 +15,7 @@ import (
|
|
|
)
|
|
|
|
|
|
var (
|
|
|
- fid = flag.String("id", "0xBEEF", "Id of this server")
|
|
|
+ fid = flag.String("id", "0x1", "Id of this server")
|
|
|
timeout = flag.Duration("timeout", 10*time.Second, "Request Timeout")
|
|
|
laddr = flag.String("l", ":8080", "HTTP service address (e.g., ':8080')")
|
|
|
|
|
|
@@ -23,7 +23,7 @@ var (
|
|
|
)
|
|
|
|
|
|
func init() {
|
|
|
- peers.Set("0xBEEF=localhost:8080")
|
|
|
+ peers.Set("0x1=localhost:8080")
|
|
|
flag.Var(peers, "peers", "your peers")
|
|
|
}
|
|
|
|