Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Time time.Time
Proto string
Scheme string
Host string
Method string
Path string
Query string
Status int
ReqHdrNames []string
ResHdrNames []string
BodyShape struct {
Kind string
JSON map[string]string `json:",omitempty"`
Size int64
}
WSFrames []FrameShape `json:",omitempty"`
GRPC struct {
Package string
Service string
Method string
Decoded bool
ClientStream bool
ServerStream bool
ReqSchema *Schema
ResSchema *Schema
}
GraphQL struct {
Operation string `json:"operation,omitempty"`
}
DurationMs int64
ConnID string
TraceID string
Redactions []string
// Hashed contains deterministic (SHA-256 hex, truncated) hashes of sensitive fields when hashing is configured.
Hashed map[string]string `json:"hashed,omitempty"`
}
type FrameShape ¶
Click to show internal directories.
Click to hide internal directories.