Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultHTTPDialTimeout = 2 * time.Second DefaultHealthCheckInterval = 5 * time.Second DefaultEndpoint = "https://localhost:2379" DefaultLogLevel = 2 DefaultLogOutputs = "stderr" DefaultStaticPodVersion = 0 // DefaultLogRotationConfig is the default configuration used for log rotation. // Log rotation is disabled by default. // MaxSize = 100 // MB // MaxAge = 0 // days (no limit) // MaxBackups = 10 // LocalTime = false // use computers local time, UTC by default // Compress = true // compress the rotated log in gzip format DefaultLogRotationConfig = `{"maxsize": 100, "maxage": 0, "maxbackups": 10, "localtime": false, "compress": true}` )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.