Add client abridged protocol

This commit is contained in:
9seconds
2019-10-10 07:22:08 +03:00
parent 1a7eee444e
commit e81c5970d4
32 changed files with 538 additions and 174 deletions
+4 -1
View File
@@ -4,6 +4,8 @@ import (
"context"
"errors"
"sync"
"go.uber.org/zap"
)
var (
@@ -24,7 +26,8 @@ func Init(ctx context.Context) {
ctx: ctx,
}
Hub = &hub{
subs: map[string]*connectionHub{},
subs: map[string]*connectionHub{},
logger: zap.S().Named("hub"),
}
})
}