parent
b91b431ec6
commit
bf5ff90e5b
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue