Implement TLS support: update configuration for TLS, modify server to handle HTTPS, and enhance logging for request handling

This commit is contained in:
alex
2025-06-24 22:15:37 +03:00
parent 973c060e5f
commit ef1efdd585
8 changed files with 75 additions and 54 deletions

View File

@@ -1,7 +1,7 @@
APP_NAME := node
BIN_DIR := bin
GOPATH := $(shell go env GOPATH)
.PHONY: all build run test fmt vet lint check clean
.PHONY: all build run runq test fmt vet lint check clean
all: build
@@ -25,6 +25,9 @@ build:
run: build
./$(BIN_DIR)/$(APP_NAME)
runq: build
./$(BIN_DIR)/$(APP_NAME) | jq
test:
@go test ./... | grep -v '^?' || true