Documentation
¶
Index ¶
- type BodyLogWriter
- type BodyLogWriterResponse
- type DetailedRequest
- type DetailedResponse
- type DumpResponsePayload
- type ExceptionRecord
- type RecordByURI
- type RequestFilter
- type SearchRequestPayload
- type SummarizedRequest
- type SummarizedResponse
- type SystemInformationResponse
- type SystemInformationResponseCPU
- type SystemInformationResponseDisk
- type SystemInformationResponseHost
- type SystemInformationResponseMemory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BodyLogWriter ¶
type BodyLogWriter struct {
gin.ResponseWriter
Body *bytes.Buffer
}
type BodyLogWriterResponse ¶
type BodyLogWriterResponse struct {
Blw *BodyLogWriter
Rdr io.ReadCloser
}
type DetailedRequest ¶
type DetailedRequest struct {
Body string `json:"body"`
ClientIP string `json:"clientIP"`
Headers string `json:"headers"`
Host string `json:"host"`
Method string `json:"method"`
Path string `json:"path"`
Referrer string `json:"referrer"`
Time int `json:"time"`
UID string `json:"uid"`
URL string `json:"url"`
UserAgent string `json:"userAgent"`
}
type DetailedResponse ¶
type DumpResponsePayload ¶
type ExceptionRecord ¶
type RecordByURI ¶
type RecordByURI struct {
UID string `uri:"id" binding:"required"`
}
type RequestFilter ¶
type SearchRequestPayload ¶
type SearchRequestPayload struct {
Query string `json:"query"`
Filter RequestFilter `json:"filter"`
}
type SummarizedRequest ¶
type SummarizedResponse ¶
type SystemInformationResponse ¶
type SystemInformationResponse struct {
ApplicationName string `json:"applicationName"`
CPU SystemInformationResponseCPU `json:"cpu"`
Disk SystemInformationResponseDisk `json:"disk"`
Host SystemInformationResponseHost `json:"host"`
Memory SystemInformationResponseMemory `json:"memory"`
Environment map[string]string `json:"environment"`
}
Click to show internal directories.
Click to hide internal directories.