type go.opentelemetry.io/otel/attribute.Value
41 uses
go.opentelemetry.io/otel/attribute (current package)
kv.go#L24: Value Value
set.go#L109: func (l *Set) Value(k Key) (Value, bool) {
set.go#L111: return Value{}, false
set.go#L120: return Value{}, false
set.go#L126: return Value{}, false
value.go#L33: type Value struct {
value.go#L62: func BoolValue(v bool) Value {
value.go#L63: return Value{
value.go#L70: func BoolSliceValue(v []bool) Value {
value.go#L71: return Value{vtype: BOOLSLICE, slice: attribute.BoolSliceValue(v)}
value.go#L75: func IntValue(v int) Value {
value.go#L80: func IntSliceValue(v []int) Value {
value.go#L86: return Value{
value.go#L93: func Int64Value(v int64) Value {
value.go#L94: return Value{
value.go#L101: func Int64SliceValue(v []int64) Value {
value.go#L102: return Value{vtype: INT64SLICE, slice: attribute.Int64SliceValue(v)}
value.go#L106: func Float64Value(v float64) Value {
value.go#L107: return Value{
value.go#L114: func Float64SliceValue(v []float64) Value {
value.go#L115: return Value{vtype: FLOAT64SLICE, slice: attribute.Float64SliceValue(v)}
value.go#L119: func StringValue(v string) Value {
value.go#L120: return Value{
value.go#L127: func StringSliceValue(v []string) Value {
value.go#L128: return Value{vtype: STRINGSLICE, slice: attribute.StringSliceValue(v)}
value.go#L132: func (v Value) Type() Type {
value.go#L138: func (v Value) AsBool() bool {
value.go#L144: func (v Value) AsBoolSlice() []bool {
value.go#L151: func (v Value) asBoolSlice() []bool {
value.go#L157: func (v Value) AsInt64() int64 {
value.go#L163: func (v Value) AsInt64Slice() []int64 {
value.go#L170: func (v Value) asInt64Slice() []int64 {
value.go#L176: func (v Value) AsFloat64() float64 {
value.go#L182: func (v Value) AsFloat64Slice() []float64 {
value.go#L189: func (v Value) asFloat64Slice() []float64 {
value.go#L195: func (v Value) AsString() string {
value.go#L201: func (v Value) AsStringSlice() []string {
value.go#L208: func (v Value) asStringSlice() []string {
value.go#L215: func (v Value) AsInterface() interface{} {
value.go#L238: func (v Value) Emit() string {
value.go#L262: func (v Value) MarshalJSON() ([]byte, error) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |