Skip to content

Commit 951bdcc

Browse files
committed
fix: linting issues
SANDBOX-316
1 parent 204b02f commit 951bdcc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

pkg/server/server.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ type requestLog struct {
2121
LogLevel string `json:"level"`
2222
ClientIP string `json:"client_ip"`
2323
Timestamp string `json:"timestamp"`
24-
HttpMethod string `json:"method"`
25-
HttpPath string `json:"path"`
24+
HTTPMethod string `json:"method"`
25+
HTTPPath string `json:"path"`
2626
Protocol string `json:"proto"`
27-
HttpStatus int `json:"status"`
27+
HTTPStatus int `json:"status"`
2828
Latency time.Duration `json:"latency"`
2929
UserAgent string `json:"user-agent"`
3030
ErrorMessage error `json:"error-message"`
@@ -65,10 +65,10 @@ func New(application application.Application) *RegistrationServer {
6565
LogLevel: "info",
6666
ClientIP: v.RemoteIP,
6767
Timestamp: time.Now().Format(time.RFC3339),
68-
HttpMethod: v.Method,
69-
HttpPath: v.URI,
68+
HTTPMethod: v.Method,
69+
HTTPPath: v.URI,
7070
Protocol: v.Protocol,
71-
HttpStatus: v.Status,
71+
HTTPStatus: v.Status,
7272
Latency: v.Latency,
7373
UserAgent: v.UserAgent,
7474
ErrorMessage: v.Error,

0 commit comments

Comments
 (0)