chore: delete code no binary or test reaches
This commit is contained in:
1 parent
7986ccb3f7
commit
01acb97f96
34 files changed
+1
-1483
No files matched your search
@@ -91,12 +91,6 @@ func (s *Server) handlerContext() (context.Context, context.CancelFunc) {
|
||||
return context.WithTimeout(context.Background(), timeout)
|
||||
}
|
||||
|
||||
// Register subscribes the publication handler under the root identity.
|
||||
// RegisterFor subscribes it under one identity-scoped subject.
|
||||
func (s *Server) Register(nc *nats.Conn) (unsubscribe func(), err error) {
|
||||
return s.RegisterFor(nc, "")
|
||||
}
|
||||
|
||||
// RegisterFor registers publication under the subject scoped to identity.
|
||||
func (s *Server) RegisterFor(nc *nats.Conn, identity string) (unsubscribe func(), err error) {
|
||||
subject := SubjectFor(identity, SubjectPush)
|
||||
|
||||
Reference in new issue
Block a user