Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for RemoteErr (0.05 sec)

  1. cmd/bootstrap-peer-server.go

    		cmdLines = append(cmdLines, ep.CmdLine)
    	}
    	scfg.CmdLines = cmdLines
    	return scfg
    }
    
    func (s *bootstrapRESTServer) VerifyHandler(params *grid.MSS) (*ServerSystemConfig, *grid.RemoteErr) {
    	return getServerSystemCfg(), nil
    }
    
    var serverVerifyHandler = grid.NewSingleHandler[*grid.MSS, *ServerSystemConfig](grid.HandlerServerVerify, grid.NewMSS, func() *ServerSystemConfig { return &ServerSystemConfig{} })
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    	if v, ok := c.outgoing.Load(m.MuxID); ok {
    		var cErr muxConnectError
    		_, err := cErr.UnmarshalMsg(m.Payload)
    		gridLogIf(ctx, err)
    		v.error(RemoteErr(cErr.Error))
    		return
    	}
    	PutByteBuffer(m.Payload)
    }
    
    func (c *Connection) handleAckMux(ctx context.Context, m message) {
    	PutByteBuffer(m.Payload)
    	v, ok := c.outgoing.Load(m.MuxID)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. cmd/metacache-walk.go

    }
    
    // WalkDirHandler - remote caller to list files and folders in a requested directory path.
    func (s *storageRESTServer) WalkDirHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) (gerr *grid.RemoteErr) {
    	var opts WalkDirOptions
    	_, err := opts.UnmarshalMsg(payload)
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    
    	if !s.checkID(opts.DiskID) {
    		return grid.NewRemoteErr(errDiskNotFound)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. internal/grid/muxclient.go

    	ok := m.addResponse(r)
    	if !ok {
    		PutByteBuffer(r.Msg)
    	}
    }
    
    var errStreamEOF = errors.New("stream EOF")
    
    // error is a message from the server to disconnect.
    func (m *muxClient) error(err RemoteErr) {
    	if debugPrint {
    		fmt.Printf("mux %d: got remote err:%v\n", m.MuxID, string(err))
    	}
    	m.addResponse(Response{Err: &err})
    }
    
    func (m *muxClient) ack(seq uint32) {
    	if !m.checkSeq(seq) {
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top