Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogEntry ¶
type LogEntry struct {
ID string `json:"id"`
Timestamp time.Time `json:"timestamp"`
Service string `json:"service"`
Method string `json:"method"`
ClientProtocol string `json:"clientProtocol"`
Status int `json:"status"`
Duration time.Duration `json:"duration"`
RequestHeaders json.RawMessage `json:"requestHeaders"`
ResponseHeaders json.RawMessage `json:"responseHeaders"`
RequestBody json.RawMessage `json:"requestBody"`
ResponseBody json.RawMessage `json:"responseBody"`
RequestFrames []json.RawMessage `json:"requestFrames,omitempty"`
ResponseFrames []json.RawMessage `json:"responseFrames,omitempty"`
StubsUsed []fauxrpc.StubEntry `json:"stubsUsed,omitempty"`
}
LogEntry represents a single log entry for a request.
Click to show internal directories.
Click to hide internal directories.