add debugging

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-11 03:50:38 -07:00
parent b91b431ec6
commit bf5ff90e5b
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
package main
import "fmt"
import "log"
import "net"
import "os"
import "io"
@ -12,6 +13,7 @@ import pb "git.wit.com/jcarr/witProtobuf"
func processEvents(mychannel chan *pb.Event) {
for {
message := <-mychannel
log.Println("processEvents() on channel recieved a message")
ReadReceivedData(message)
}
}