9.25课后作业
内容:编写一个 HTTP 服务器,大家视个人不同情况决定完成到哪个环节,但尽量把1都做完
1.接收客户端 request,并将 request 中带的 header 写入 response header
2.读取当前系统的环境变量中的 VERSION 配置,并写入 response header
3.Server 端记录访问日志包括客户端 IP,HTTP 返回码,输出到 server 端的标准输出
4.当访问 localhost/healthz 时,应返回200
提交链接:https://jinshuju.net/f/PlZ3xg
-
Notifications
You must be signed in to change notification settings - Fork 0
shi1123/go-learn
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published