style: 合入后修 gofmt/govet 与 RegistrationView 类型检查

This commit is contained in:
Nixevol
2026-09-30 16:34:33 +08:00
parent 8f2ebc7d21
commit 0c9b459fb1
18 changed files with 74 additions and 79 deletions
+1 -4
View File
@@ -132,10 +132,7 @@ func (st *connState) sendOne(b *Broker, item downItem) {
topic := downTopic(st.endpointID)
before := st.sentPub.Load()
var err error
for {
if b.closed.Load() {
break
}
for !b.closed.Load() {
select {
case <-st.downStop:
err = ErrNoConnection