Documentation ¶
Index ¶
- Constants
- func JoinIDs(ids ...ID) (string, error)
- type ID
- type Label
- type Labels
- func (labels Labels) Add(labels2 Labels) Labels
- func (labels Labels) EncodeTo(w LabelsEncoder)
- func (labels Labels) Equal(labels2 Labels) bool
- func (labels *Labels) FromString(s string) (err error)
- func (labels Labels) Include(labels2 Labels) bool
- func (labels Labels) Len() int
- func (labels Labels) Less(i, j int) bool
- func (labels Labels) String() string
- func (labels Labels) Swap(i, j int)
- type LabelsEncoder
- type Meta
- type ProfileType
Constants ¶
View Source
const TestID = ID("bpc00mript33iv4net00")
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Labels ¶
type Labels []Label
func LabelsFromMap ¶
func (Labels) EncodeTo ¶
func (labels Labels) EncodeTo(w LabelsEncoder)
func (*Labels) FromString ¶
type LabelsEncoder ¶
type LabelsEncoder interface { io.ByteWriter io.StringWriter }
type ProfileType ¶
type ProfileType uint8
const ( TypeUnknown ProfileType = iota TypeCPU TypeHeap TypeBlock TypeMutex TypeGoroutine TypeThreadcreate TypeOther ProfileType = 127 TypeTrace ProfileType = 128 )
func (*ProfileType) FromString ¶
func (ptype *ProfileType) FromString(s string) error
func (ProfileType) String ¶
func (ptype ProfileType) String() string
Click to show internal directories.
Click to hide internal directories.