func NewHost(addr string, port int) Host {
    return Host{ addr, port }
}
creates a new host struct
package overflow
import (
    "fmt"
    "net"
    "time"
    "strings"
    "errors"
)
const timeout time.Duration = 5000000000
type Host struct {
    addr string
    port int
}
type Payload struct {
    data []byte
    tmpl string
}