Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 86 for qmsg (0.14 sec)

  1. internal/grid/stream.go

    			doneCh = nil
    		case resp, ok := <-s.responses:
    			if !ok {
    				done = true
    				return nil
    			}
    			if resp.Err != nil {
    				return resp.Err
    			}
    			err = next(resp.Msg)
    			if err != nil {
    				return err
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. internal/logger/target/kafka/kafka.go

    		return err
    	}
    	logJSON, err := json.Marshal(&entry)
    	if err != nil {
    		return err
    	}
    	msg := sarama.ProducerMessage{
    		Topic: h.kconfig.Topic,
    		Value: sarama.ByteEncoder(logJSON),
    	}
    	_, _, err = h.producer.SendMessage(&msg)
    	if err != nil {
    		atomic.StoreInt32(&h.status, statusOffline)
    	} else {
    		atomic.StoreInt32(&h.status, statusOnline)
    	}
    	return err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  3. cmd/common-main.go

    		}
    		if env.IsSet(config.EnvAccessKey) && env.IsSet(config.EnvSecretKey) {
    			msg := fmt.Sprintf("WARNING: %s and %s are deprecated.\n"+
    				"         Please use %s and %s",
    				config.EnvAccessKey, config.EnvSecretKey,
    				config.EnvRootUser, config.EnvRootPassword)
    			logger.Info(color.RedBold(msg))
    		}
    		globalActiveCred = cred
    		globalCredViaEnv = true
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  4. internal/config/cache/remote.go

    	CacheControl string            `json:"cacheControl,omitempty" msg:",omitempty"`
    	Expires      string            `json:"expires,omitempty" msg:",omitempty"`
    	Metadata     map[string]string `json:"metadata,omitempty" msg:",omitempty"`
    	Range        string            `json:"range,omitempty" msg:",omitempty"`
    	PartNumber   int               `json:"partNumber,omitempty" msg:",omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    	msg.Flags.Clear(FlagSubroute)
    	if payload != nil {
    		if sz := payload.Msgsize(); cap(msg.Payload) < sz {
    			PutByteBuffer(msg.Payload)
    			msg.Payload = GetByteBufferCap(sz)
    		}
    		var err error
    		msg.Payload, err = payload.MarshalMsg(msg.Payload[:0])
    		msg.Op = payload.Op()
    		if err != nil {
    			return err
    		}
    	}
    	defer PutByteBuffer(msg.Payload)
    	dst := GetByteBufferCap(msg.Msgsize())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  6. internal/config/certs.go

    		return tls.Certificate{}, ErrTLSReadError(nil).Msg("Unable to read the public key: %s", err)
    	}
    	keyPEMBlock, err := os.ReadFile(keyFile)
    	if err != nil {
    		return tls.Certificate{}, ErrTLSReadError(nil).Msg("Unable to read the private key: %s", err)
    	}
    	key, rest := pem.Decode(keyPEMBlock)
    	if len(rest) > 0 {
    		return tls.Certificate{}, ErrTLSUnexpectedData(nil).Msg("The private key contains additional data")
    	}
    	if key == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  7. cmd/endpoint-ellipses.go

    	for _, totalSize := range totalSizes {
    		// Check if totalSize has minimum range upto setSize
    		if totalSize < setSizes[0] || totalSize < setDriveCount {
    			msg := fmt.Sprintf("Incorrect number of endpoints provided %s", args)
    			return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    		}
    	}
    
    	commonSize := getDivisibleSize(totalSizes)
    	possibleSetCounts := func(setSize uint64) (ss []uint64) {
    		for _, s := range setSizes {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. docs/debugging/inspect/utils.go

    	return x509.ParsePKCS1PrivateKey(priv)
    }
    
    func fatalErr(err error) {
    	if err == nil {
    		return
    	}
    	log.Fatalln(err)
    }
    
    func fatalIf(b bool, msg string, v ...interface{}) {
    	if !b {
    		return
    	}
    	log.Fatalf(msg, v...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 02 20:36:38 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  9. internal/config/storageclass/storage-class.go

    	if len(s) > 2 {
    		return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Too many sections in " + storageClassEnv)
    	} else if len(s) < 2 {
    		return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Too few sections in " + storageClassEnv)
    	}
    
    	// only allowed scheme is "EC"
    	if s[0] != schemePrefix {
    		return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Unsupported scheme " + s[0] + ". Supported scheme is EC")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. internal/config/compress/compress.go

    	for _, e := range includes {
    		if len(e) == 0 {
    			return nil, config.ErrInvalidCompressionIncludesValue(nil).Msg("extension/mime-type cannot be empty")
    		}
    		if e == "/" {
    			return nil, config.ErrInvalidCompressionIncludesValue(nil).Msg("extension/mime-type cannot be '/'")
    		}
    	}
    	return includes, nil
    }
    
    // LookupConfig - lookup compression config.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5K bytes
    - Viewed (0)
Back to top