package keys
Import Path
golang.org/x/tools/internal/event/keys (on go.dev)
Dependency Relation
imports 5 packages, and imported by 2 packages
Package-Level Type Names (total 17, all are exported)
Boolean represents a key
description string
name string
(*Boolean) Description() string
(*Boolean) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*Boolean) Name() string
Of creates a new Label with this key and the supplied value.
*Boolean : golang.org/x/tools/internal/event/label.Key
func NewBoolean(name, description string) *Boolean
Error represents a key
description string
name string
(*Error) Description() string
(*Error) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*Error) Name() string
Of creates a new Label with this key and the supplied value.
*Error : golang.org/x/tools/internal/event/label.Key
func NewError(name, description string) *Error
var Err *Error
Float32 represents a key
description string
name string
(*Float32) Description() string
(*Float32) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*Float32) Name() string
Of creates a new Label with this key and the supplied value.
*Float32 : golang.org/x/tools/internal/event/label.Key
func NewFloat32(name, description string) *Float32
Float64 represents a key
description string
name string
(*Float64) Description() string
(*Float64) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*Float64) Name() string
Of creates a new Label with this key and the supplied value.
*Float64 : golang.org/x/tools/internal/event/label.Key
func NewFloat64(name, description string) *Float64
Int represents a key
description string
name string
(*Int) Description() string
(*Int) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*Int) Name() string
Of creates a new Label with this key and the supplied value.
*Int : golang.org/x/tools/internal/event/label.Key
func NewInt(name, description string) *Int
Int16 represents a key
description string
name string
(*Int16) Description() string
(*Int16) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*Int16) Name() string
Of creates a new Label with this key and the supplied value.
*Int16 : golang.org/x/tools/internal/event/label.Key
func NewInt16(name, description string) *Int16
Int32 represents a key
description string
name string
(*Int32) Description() string
(*Int32) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*Int32) Name() string
Of creates a new Label with this key and the supplied value.
*Int32 : golang.org/x/tools/internal/event/label.Key
func NewInt32(name, description string) *Int32
Int64 represents a key
description string
name string
(*Int64) Description() string
(*Int64) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*Int64) Name() string
Of creates a new Label with this key and the supplied value.
*Int64 : golang.org/x/tools/internal/event/label.Key
func NewInt64(name, description string) *Int64
Int8 represents a key
description string
name string
(*Int8) Description() string
(*Int8) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*Int8) Name() string
Of creates a new Label with this key and the supplied value.
*Int8 : golang.org/x/tools/internal/event/label.Key
func NewInt8(name, description string) *Int8
String represents a key
description string
name string
(*String) Description() string
(*String) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*String) Name() string
Of creates a new Label with this key and the supplied value.
*String : golang.org/x/tools/internal/event/label.Key
func NewString(name, description string) *String
var Msg *String
var Start *String
Tag represents a key for tagging labels that have no value.
These are used when the existence of the label is the entire information it
carries, such as marking events to be of a specific kind, or from a specific
package.
description string
name string
(*Tag) Description() string
(*Tag) Format(w io.Writer, buf []byte, l label.Label)
(*Tag) Name() string
New creates a new Label with this key.
*Tag : golang.org/x/tools/internal/event/label.Key
func NewTag(name, description string) *Tag
var Detach *Tag
var End *Tag
var Label *Tag
var Metric *Tag
UInt represents a key
description string
name string
(*UInt) Description() string
(*UInt) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*UInt) Name() string
Of creates a new Label with this key and the supplied value.
*UInt : golang.org/x/tools/internal/event/label.Key
func NewUInt(name, description string) *UInt
UInt16 represents a key
description string
name string
(*UInt16) Description() string
(*UInt16) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*UInt16) Name() string
Of creates a new Label with this key and the supplied value.
*UInt16 : golang.org/x/tools/internal/event/label.Key
func NewUInt16(name, description string) *UInt16
UInt32 represents a key
description string
name string
(*UInt32) Description() string
(*UInt32) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*UInt32) Name() string
Of creates a new Label with this key and the supplied value.
*UInt32 : golang.org/x/tools/internal/event/label.Key
func NewUInt32(name, description string) *UInt32
UInt64 represents a key
description string
name string
(*UInt64) Description() string
(*UInt64) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*UInt64) Name() string
Of creates a new Label with this key and the supplied value.
*UInt64 : golang.org/x/tools/internal/event/label.Key
func NewUInt64(name, description string) *UInt64
UInt8 represents a key
description string
name string
(*UInt8) Description() string
(*UInt8) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*UInt8) Name() string
Of creates a new Label with this key and the supplied value.
*UInt8 : golang.org/x/tools/internal/event/label.Key
func NewUInt8(name, description string) *UInt8
Value represents a key for untyped values.
description string
name string
(*Value) Description() string
(*Value) Format(w io.Writer, buf []byte, l label.Label)
From can be used to get a value from a Label.
Get can be used to get a label for the key from a label.Map.
(*Value) Name() string
Of creates a new Label with this key and the supplied value.
*Value : golang.org/x/tools/internal/event/label.Key
func New(name, description string) *Value
Package-Level Functions (total 17, all are exported)
New creates a new Key for untyped values.
NewBoolean creates a new Key for bool values.
NewError creates a new Key for int64 values.
NewFloat32 creates a new Key for float32 values.
NewFloat64 creates a new Key for int64 values.
NewInt creates a new Key for int values.
NewInt16 creates a new Key for int16 values.
NewInt32 creates a new Key for int32 values.
NewInt64 creates a new Key for int64 values.
NewInt8 creates a new Key for int8 values.
NewString creates a new Key for int64 values.
NewTag creates a new Key for tagging labels.
NewUInt creates a new Key for uint values.
NewUInt16 creates a new Key for uint16 values.
NewUInt32 creates a new Key for uint32 values.
NewUInt64 creates a new Key for uint64 values.
NewUInt8 creates a new Key for uint8 values.
Package-Level Variables (total 7, all are exported)
Metric is a key used to indicate an event records metrics.
Metric is a key used to indicate an event records metrics.
Err is a key used to add error values to label lists.
Label is a key used to indicate an event adds labels to the context.
Metric is a key used to indicate an event records metrics.
Msg is a key used to add message strings to label lists.
Start is used for things like traces that have a name.
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)