1.4.5.2
This commit is contained in:
17
EdgeCommon/pkg/systemconfigs/bandwidth.go
Normal file
17
EdgeCommon/pkg/systemconfigs/bandwidth.go
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package systemconfigs
|
||||
|
||||
type BandwidthUnit = string
|
||||
|
||||
const (
|
||||
BandwidthUnitByte BandwidthUnit = "byte"
|
||||
BandwidthUnitBit BandwidthUnit = "bit"
|
||||
)
|
||||
|
||||
type BandwidthAlgo = string // 带宽算法
|
||||
|
||||
const (
|
||||
BandwidthAlgoSecondly BandwidthAlgo = "secondly" // 按秒算
|
||||
BandwidthAlgoAvg BandwidthAlgo = "avg" // N分钟平均
|
||||
)
|
||||
Reference in New Issue
Block a user