- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 85 for Msg (0.11 sec)
-
internal/logger/target/testlogger/testlogger.go
case log.Entry: if v.Trace == nil { logf("%s: %s", v.Level, v.Message) } else { msg := fmt.Sprintf("%s: %+v", v.Level, v.Trace.Message) for i, m := range v.Trace.Source { if i == 0 && strings.Contains(m, "logger.go:") { continue } msg += fmt.Sprintf("\n%s", m) } logf("%s", msg) } default: logf("%+v (%T)", v, v) } return nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 4K bytes - Viewed (0) -
internal/grid/errors.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Nov 21 01:09:35 GMT 2023 - 1.4K bytes - Viewed (0) -
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 (1) -
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) -
docs/debugging/inspect/main.go
output, err := os.Create(outputFileName) fatalErr(err) // Decrypt the inspect data msg := fmt.Sprintf("output written to %s", outputFileName) switch { case *keyHex != "": err = extractInspectV1(*keyHex, input, output, msg) case len(privateKey) != 0: err = extractInspectV2(privateKey, input, output, msg) } output.Close() if err != nil { var keep keepFileErr
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 21:22:47 GMT 2024 - 4.8K bytes - Viewed (0) -
internal/grid/grid_test.go
var n int stream.Requests <- []byte(strconv.Itoa(n)) for resp := range stream.responses { errFatal(resp.Err) t.Logf("got resp: %+v", string(resp.Msg)) if string(resp.Msg) != testPayload+strconv.Itoa(n) { t.Errorf("want %q, got %q", testPayload+strconv.Itoa(n), string(resp.Msg)) } if n == 10 { close(stream.Requests) continue } n++ t.Log("sending new client request")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 30 15:03:35 GMT 2024 - 30.1K bytes - Viewed (0) -
internal/grid/handlers.go
return NoPayload{}, nil } r := RemoteErr(err.Error()) return NoPayload{}, &r } // NewRemoteErrString creates a new remote error from a string. func NewRemoteErrString(msg string) *RemoteErr { r := RemoteErr(msg) return &r } func (r RemoteErr) Error() string { return string(r) } // Is returns if the string representation matches. func (r *RemoteErr) Is(other error) bool {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 27.1K bytes - Viewed (0) -
internal/logger/target/console/console.go
} if len(entry.Trace.Variables) > 0 { tagString = "\n " + tagString } msg := color.RedBold(entry.Trace.Message) output := fmt.Sprintf("\n%s\n%s%s%s%s%s%s\nError: %s%s\n%s", apiString, timeString, deploymentID, requestID, remoteHost, host, userAgent, msg, tagString, strings.Join(trace, "\n")) fmt.Fprintln(c.output, output) return nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 3.9K bytes - Viewed (0) -
cmd/batch-expire.go
if len(ef.Tags) > 0 || len(ef.Metadata) > 0 { return BatchJobYamlErr{ line: ef.line, col: ef.col, msg: "delete type filter can't have tags or metadata", } } default: return BatchJobYamlErr{ line: ef.line, col: ef.col, msg: "invalid batch-expire type", } } for _, tag := range ef.Tags { if err := tag.Validate(); err != nil { return err
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 21K bytes - Viewed (1) -
cmd/site-replication-metrics.go
// Replication latency information Latency ReplicationLatency `json:"replicationLatency"` // transfer rate for large uploads XferRateLrg *XferStats `json:"largeTransferRate" msg:"lt"` // transfer rate for small uploads XferRateSml *XferStats `json:"smallTransferRate" msg:"st"` // Endpoint is the replication target endpoint Endpoint string `json:"-"` // Secure is true if the replication target endpoint is secure Secure bool `json:"-"`
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Feb 06 06:00:45 GMT 2024 - 8.2K bytes - Viewed (0)