logs-analyzer/signoz/pkg/query-service/utils/labels/interface.go

14 lines
258 B
Go
Raw Permalink Normal View History

2024-09-02 22:47:30 +03:00
package labels
type BaseLabels interface {
Len() int
Swap(i, j int)
Less(i, j int) bool
String() string
Hash() uint64
HashForLabels(b []byte, names ...string) (uint64, []byte)
Get(name string) string
Has(name string) bool
Map() map[string]string
}