some code to handle configuration file and tls

This commit is contained in:
2024-12-07 00:54:19 +09:00
parent e144a39c5c
commit e51077a749
4 changed files with 131 additions and 80 deletions

View File

@ -10,13 +10,16 @@ SRCS=\
server.go \
server-ctl.go \
server-peer.go \
server-ws.go \
server-ws.go
CMD_SRCS=\
cmd/config.go \
cmd/main.go
all: hodu
hodu: $(SRCS)
CGO_ENABLED=0 go build -x -o $@ cmd/main.go
hodu: $(SRCS) $(CMD_SRCS)
CGO_ENABLED=0 go build -x -o $@ $(CMD_SRCS)
clean:
go clean -x -i