Starting to add tests

This commit is contained in:
Willie Koomson
2018-03-12 19:46:44 -04:00
parent 15798f473b
commit 82596d0be2
11 changed files with 152 additions and 130 deletions

2
tcp.go
View File

@ -21,7 +21,7 @@ const (
var CAFile = "/etc/ssl/certs/ca-certificates.crt"
var defaultRouterAddress = "127.0.0.1:7654"
const USE_TLS = true
const USE_TLS = false
func (tcp *Tcp) Init() (err error) {
tcp.address, err = net.ResolveTCPAddr("tcp", defaultRouterAddress)