Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newMuxStateless (0.07 sec)

  1. internal/grid/muxserver.go

    	inbound            chan []byte
    	parent             *Connection
    	sendMu             sync.Mutex
    	recvMu             sync.Mutex
    	outBlock           chan struct{}
    	clientPingInterval time.Duration
    }
    
    func newMuxStateless(ctx context.Context, msg message, c *Connection, handler StatelessHandler) *muxServer {
    	var cancel context.CancelFunc
    	ctx = setCaller(ctx, c.remote)
    	if msg.DeadlineMS > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    			}
    			gridLogIf(ctx, c.queueMsg(m, muxConnectError{Error: msg}))
    			return
    		}
    		_, _ = c.inStream.LoadOrCompute(m.MuxID, func() *muxServer {
    			return newMuxStateless(ctx, m, c, *handler)
    		})
    	} else {
    		// Stream:
    		var handler *StreamHandler
    		if subID == nil {
    			if !m.Handler.valid() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top