MCPcopy Create free account
hub / github.com/docker/model-test / LogResponse

Struct LogResponse

services/request_logger.go:35–38  ·  view source on GitHub ↗

LogResponse represents the response part of a log entry

Source from the content-addressed store, hash-verified

33
34// LogResponse represents the response part of a log entry
35type LogResponse struct {
36 StatusCode int `json:"status_code"`
37 Body interface{} `json:"body"`
38}
39
40// NewRequestLogger creates a new request logger with the specified log file
41func NewRequestLogger(logFilePath string) (*RequestLogger, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected