Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for websocketjs (0.21 sec)

  1. cmd/storage-rest-client.go

    	if r != nil {
    		readMsgpReaderPool.Put(r)
    	}
    }
    
    func (client *storageRESTClient) ReadVersion(ctx context.Context, origvolume, volume, path, versionID string, opts ReadOptions) (fi FileInfo, err error) {
    	// Use websocket when not reading data.
    	if !opts.ReadData {
    		resp, err := storageReadVersionRPC.Call(ctx, client.gridConn, grid.NewMSSWith(map[string]string{
    			storageRESTDiskID:     *client.diskID.Load(),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    func (l EndpointServerPools) NEndpoints() (count int) {
    	for _, ep := range l {
    		count += len(ep.Endpoints)
    	}
    	return count
    }
    
    // GridHosts will return all peers, including local.
    // in websocket grid compatible format, The local peer
    // is returned as a separate string.
    func (l EndpointServerPools) GridHosts() (gridHosts []string, gridLocal string) {
    	seenHosts := set.NewStringSet()
    	for _, ep := range l {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    		mid, ok := c.outgoing.Load(muxID)
    		if !ok || mid == nil {
    			resp(true)
    			return
    		}
    		mid.respMu.Lock()
    		resp(mid.closed)
    		mid.respMu.Unlock()
    	}
    }
    
    // wsWriter writes websocket messages.
    type wsWriter struct {
    	tmp [ws.MaxHeaderSize]byte
    }
    
    // writeMessage writes a message to w without allocations.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top