add checks for net interfaces and update readme with godoc