mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
87c77727e4
* lib/backup/s3remote: update AWS SDK to v2 * Update lib/backup/s3remote/s3.go Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com> * lib/backup/s3remote: refactor error handling Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
12 lines
232 B
Go
12 lines
232 B
Go
package io
|
|
|
|
const (
|
|
// Byte is 8 bits
|
|
Byte int64 = 1
|
|
// KibiByte (KiB) is 1024 Bytes
|
|
KibiByte = Byte * 1024
|
|
// MebiByte (MiB) is 1024 KiB
|
|
MebiByte = KibiByte * 1024
|
|
// GibiByte (GiB) is 1024 MiB
|
|
GibiByte = MebiByte * 1024
|
|
)
|