aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/go.opencensus.io/stats/units.go
diff options
context:
space:
mode:
authorbojie <bojie@dexon.org>2018-12-28 13:15:06 +0800
committerWei-Ning Huang <w@dexon.org>2019-01-14 15:26:26 +0800
commit706c5ebdc21f2eda3cd1833dd76f95ca63cc798b (patch)
tree6e0d46bdd620a03718e0c01507eb9104e450db05 /vendor/go.opencensus.io/stats/units.go
parent06278ed3263ca682be79119ea88f169719cfe080 (diff)
downloaddexon-706c5ebdc21f2eda3cd1833dd76f95ca63cc798b.tar
dexon-706c5ebdc21f2eda3cd1833dd76f95ca63cc798b.tar.gz
dexon-706c5ebdc21f2eda3cd1833dd76f95ca63cc798b.tar.bz2
dexon-706c5ebdc21f2eda3cd1833dd76f95ca63cc798b.tar.lz
dexon-706c5ebdc21f2eda3cd1833dd76f95ca63cc798b.tar.xz
dexon-706c5ebdc21f2eda3cd1833dd76f95ca63cc798b.tar.zst
dexon-706c5ebdc21f2eda3cd1833dd76f95ca63cc798b.zip
app: use gcp storage instead of azure for builds (#81)
* vendor: add dependencies for using GCP storage * app: use gcp storage instead of azure for builds
Diffstat (limited to 'vendor/go.opencensus.io/stats/units.go')
-rw-r--r--vendor/go.opencensus.io/stats/units.go25
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/go.opencensus.io/stats/units.go b/vendor/go.opencensus.io/stats/units.go
new file mode 100644
index 000000000..6931a5f29
--- /dev/null
+++ b/vendor/go.opencensus.io/stats/units.go
@@ -0,0 +1,25 @@
+// Copyright 2018, OpenCensus Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+package stats
+
+// Units are encoded according to the case-sensitive abbreviations from the
+// Unified Code for Units of Measure: http://unitsofmeasure.org/ucum.html
+const (
+ UnitNone = "1" // Deprecated: Use UnitDimensionless.
+ UnitDimensionless = "1"
+ UnitBytes = "By"
+ UnitMilliseconds = "ms"
+)