yanghui
2021-06-16 584e19a2cd83a305c14ad7460e97bf4e49805fff
logc.go
@@ -2,7 +2,7 @@
import (
   "basic.com/valib/bhomebus.git"
   "encoding/json"
   "basic.com/valib/bhshmq.git/proto/source/bhome_msg"
   "fmt"
   "sync"
   "time"
@@ -45,7 +45,7 @@
}
type LogRegister struct {
   Nodes      []bhomebus.NetNode
   Nodes      []bhome_msg.BHAddress
   Topic      string
   Payload     []byte
}
@@ -94,7 +94,7 @@
   }
   if msg == "" {
      retrun
      return
   }
   log := &ScheduleLog{
@@ -109,7 +109,7 @@
   deliverLog(log, timeout)
}
func deliverLog(l LogPrinter, timeout time.Duration)  {
func deliverLog(l LogPrinter, timeout time.Duration) {
   select {
   case logCh <- l:
      return