Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeaderValue ¶
HeaderValue returns the single header value when exactly one exists, the value slice for repeated headers, and an empty string when the header is absent.
func SnapshotValue ¶
func SnapshotValue(snapshot base.LogSnapshot, name string) any
SnapshotValue preserves RequestValue semantics after the live request has been detached for log and finalizer callbacks.
Types ¶
type Expression ¶
type Expression struct {
// contains filtered or unexported fields
}
func Compile ¶
func Compile(value any) (*Expression, error)
func (*Expression) Eval ¶
func (e *Expression) Eval(resolve Resolver) bool
Click to show internal directories.
Click to hide internal directories.