Versions in this module Expand all Collapse all v0 v0.1.1 May 12, 2022 v0.1.0 May 12, 2022 Changes in this version + var Detach = NewTag("detach", "a span detach marker") + var End = NewTag("end", "a span end marker") + var Err = NewError("error", "an error that occurred") + var Label = NewTag("label", "a label context marker") + var Metric = NewTag("metric", "a metric event marker") + var Msg = NewString("message", "a readable message") + var Start = NewString("start", "span start") + type Boolean struct + func NewBoolean(name, description string) *Boolean + func (k *Boolean) Description() string + func (k *Boolean) Format(w io.Writer, buf []byte, l label.Label) + func (k *Boolean) From(t label.Label) bool + func (k *Boolean) Get(lm label.Map) bool + func (k *Boolean) Name() string + func (k *Boolean) Of(v bool) label.Label + type Error struct + func NewError(name, description string) *Error + func (k *Error) Description() string + func (k *Error) Format(w io.Writer, buf []byte, l label.Label) + func (k *Error) From(t label.Label) error + func (k *Error) Get(lm label.Map) error + func (k *Error) Name() string + func (k *Error) Of(v error) label.Label + type Float32 struct + func NewFloat32(name, description string) *Float32 + func (k *Float32) Description() string + func (k *Float32) Format(w io.Writer, buf []byte, l label.Label) + func (k *Float32) From(t label.Label) float32 + func (k *Float32) Get(lm label.Map) float32 + func (k *Float32) Name() string + func (k *Float32) Of(v float32) label.Label + type Float64 struct + func NewFloat64(name, description string) *Float64 + func (k *Float64) Description() string + func (k *Float64) Format(w io.Writer, buf []byte, l label.Label) + func (k *Float64) From(t label.Label) float64 + func (k *Float64) Get(lm label.Map) float64 + func (k *Float64) Name() string + func (k *Float64) Of(v float64) label.Label + type Int struct + func NewInt(name, description string) *Int + func (k *Int) Description() string + func (k *Int) Format(w io.Writer, buf []byte, l label.Label) + func (k *Int) From(t label.Label) int + func (k *Int) Get(lm label.Map) int + func (k *Int) Name() string + func (k *Int) Of(v int) label.Label + type Int16 struct + func NewInt16(name, description string) *Int16 + func (k *Int16) Description() string + func (k *Int16) Format(w io.Writer, buf []byte, l label.Label) + func (k *Int16) From(t label.Label) int16 + func (k *Int16) Get(lm label.Map) int16 + func (k *Int16) Name() string + func (k *Int16) Of(v int16) label.Label + type Int32 struct + func NewInt32(name, description string) *Int32 + func (k *Int32) Description() string + func (k *Int32) Format(w io.Writer, buf []byte, l label.Label) + func (k *Int32) From(t label.Label) int32 + func (k *Int32) Get(lm label.Map) int32 + func (k *Int32) Name() string + func (k *Int32) Of(v int32) label.Label + type Int64 struct + func NewInt64(name, description string) *Int64 + func (k *Int64) Description() string + func (k *Int64) Format(w io.Writer, buf []byte, l label.Label) + func (k *Int64) From(t label.Label) int64 + func (k *Int64) Get(lm label.Map) int64 + func (k *Int64) Name() string + func (k *Int64) Of(v int64) label.Label + type Int8 struct + func NewInt8(name, description string) *Int8 + func (k *Int8) Description() string + func (k *Int8) Format(w io.Writer, buf []byte, l label.Label) + func (k *Int8) From(t label.Label) int8 + func (k *Int8) Get(lm label.Map) int8 + func (k *Int8) Name() string + func (k *Int8) Of(v int8) label.Label + type String struct + func NewString(name, description string) *String + func (k *String) Description() string + func (k *String) Format(w io.Writer, buf []byte, l label.Label) + func (k *String) From(t label.Label) string + func (k *String) Get(lm label.Map) string + func (k *String) Name() string + func (k *String) Of(v string) label.Label + type Tag struct + func NewTag(name, description string) *Tag + func (k *Tag) Description() string + func (k *Tag) Format(w io.Writer, buf []byte, l label.Label) + func (k *Tag) Name() string + func (k *Tag) New() label.Label + type UInt struct + func NewUInt(name, description string) *UInt + func (k *UInt) Description() string + func (k *UInt) Format(w io.Writer, buf []byte, l label.Label) + func (k *UInt) From(t label.Label) uint + func (k *UInt) Get(lm label.Map) uint + func (k *UInt) Name() string + func (k *UInt) Of(v uint) label.Label + type UInt16 struct + func NewUInt16(name, description string) *UInt16 + func (k *UInt16) Description() string + func (k *UInt16) Format(w io.Writer, buf []byte, l label.Label) + func (k *UInt16) From(t label.Label) uint16 + func (k *UInt16) Get(lm label.Map) uint16 + func (k *UInt16) Name() string + func (k *UInt16) Of(v uint16) label.Label + type UInt32 struct + func NewUInt32(name, description string) *UInt32 + func (k *UInt32) Description() string + func (k *UInt32) Format(w io.Writer, buf []byte, l label.Label) + func (k *UInt32) From(t label.Label) uint32 + func (k *UInt32) Get(lm label.Map) uint32 + func (k *UInt32) Name() string + func (k *UInt32) Of(v uint32) label.Label + type UInt64 struct + func NewUInt64(name, description string) *UInt64 + func (k *UInt64) Description() string + func (k *UInt64) Format(w io.Writer, buf []byte, l label.Label) + func (k *UInt64) From(t label.Label) uint64 + func (k *UInt64) Get(lm label.Map) uint64 + func (k *UInt64) Name() string + func (k *UInt64) Of(v uint64) label.Label + type UInt8 struct + func NewUInt8(name, description string) *UInt8 + func (k *UInt8) Description() string + func (k *UInt8) Format(w io.Writer, buf []byte, l label.Label) + func (k *UInt8) From(t label.Label) uint8 + func (k *UInt8) Get(lm label.Map) uint8 + func (k *UInt8) Name() string + func (k *UInt8) Of(v uint8) label.Label + type Value struct + func New(name, description string) *Value + func (k *Value) Description() string + func (k *Value) Format(w io.Writer, buf []byte, l label.Label) + func (k *Value) From(t label.Label) interface{} + func (k *Value) Get(lm label.Map) interface{} + func (k *Value) Name() string + func (k *Value) Of(value interface{}) label.Label