Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/pkg/logql/syntax/walk.go

13 lines
178 B

package syntax
type WalkFn = func(e interface{})
func walkAll(f WalkFn, xs ...Walkable) {
for _, x := range xs {
x.Walk(f)
}
}
type Walkable interface {
Walk(f WalkFn)
}