Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Struct (0.17 sec)

  1. internal/logger/config.go

    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/logger/target/http"
    	"github.com/minio/minio/internal/logger/target/kafka"
    )
    
    // Console logger target
    type Console struct {
    	Enabled bool `json:"enabled"`
    }
    
    // Audit/Logger constants
    const (
    	Endpoint   = "endpoint"
    	AuthToken  = "auth_token"
    	ClientCert = "client_cert"
    	ClientKey  = "client_key"
    	BatchSize  = "batch_size"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. internal/config/identity/plugin/config.go

    	if err != nil {
    		return err
    	}
    	defer a.CloseRespFn(resp.Body)
    
    	return nil
    }
    
    type serviceRTTMinuteStats struct {
    	statsTime           time.Time
    	rttMsSum, maxRttMs  float64
    	successRequestCount int64
    	failedRequestCount  int64
    }
    
    type metrics struct {
    	sync.Mutex
    	LastCheckSuccess time.Time
    	LastCheckFailure time.Time
    	lastFullMinute   serviceRTTMinuteStats
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  3. internal/config/config.go

    }
    
    // ErrConfigGeneric is a generic config type
    type ErrConfigGeneric struct {
    	msg string
    }
    
    func (ge *ErrConfigGeneric) setMsg(msg string) {
    	ge.msg = msg
    }
    
    func (ge ErrConfigGeneric) Error() string {
    	return ge.msg
    }
    
    // ErrConfigNotFound is an error to indicate
    // that a config parameter is not found
    type ErrConfigNotFound struct {
    	ErrConfigGeneric
    }
    
    // Error creates an error message and wraps
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top