()
| 32 | } |
| 33 | |
| 34 | func newSessionAttachableManager() *sessionAttachableManager { |
| 35 | return &sessionAttachableManager{ |
| 36 | callers: map[string]*sessionAttachableCaller{}, |
| 37 | waiters: map[string][]chan struct{}{}, |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | func (m *sessionAttachableManager) Register(ctx context.Context, clientID string, conn net.Conn, methodURLs []string) error { |
| 42 | ctx, cancel := context.WithCancelCause(ctx) |
no outgoing calls