mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-27 18:57:04 +02:00
refactor: move accesslog to logging/accesslog
This commit is contained in:
11
internal/logging/accesslog/units.go
Normal file
11
internal/logging/accesslog/units.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package accesslog
|
||||
|
||||
const (
|
||||
kilobyte = 1024
|
||||
megabyte = 1024 * kilobyte
|
||||
gigabyte = 1024 * megabyte
|
||||
|
||||
kilobits = 1000
|
||||
megabits = 1000 * kilobits
|
||||
gigabits = 1000 * megabits
|
||||
)
|
||||
Reference in New Issue
Block a user