File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -374,8 +374,19 @@ Hello world
374
374
```
375
375
376
376
... if ๋ฌธ์ ๋ง์ด ์จ์ผ ๋๋ ๋ถ๋ถ์ด ์์ฝ๋ค์.
377
-
378
- 3. ์ธ์ ํ์ง? ์๊ฐ์ด ๋๋ฉด ์
ํ์ ์ถ๊ฐํด๋ณด์~
377
+
378
+ 3. ์ด๊ฐ๋จ HTTP ์๋ฒ
379
+ 1. source : normal/httpServer/[main.go](https://github.com/ClintJang/go-study/blob/master/sample/src/normal/httpServer/main.go)
380
+ 2. result : httpServer ํด๋์์ main.go๋ฅผ runํฉ๋๋ค.
381
+ ```
382
+ fileAndDir $ go run main.go
383
+ _
384
+ (์ปค์ ๋๊ธฐ์ค, ์ด์ ์น ๋ธ๋ผ์ฐ์ ์ "localhost:9999" ๋ฅผ ์ณ๋ณด์ธ์)
385
+ ```
386
+ 3. ๊ฐ๋จํ ์๋ฒ๊ฐ ์คํ๋ฌ์ต๋๋ค. (Http Server๋ฅผ ๋ซ์ผ๋ ค๋ฉด control + c)
387
+ 4. ์๋ฒ ์คํ : http://localhost:9999
388
+ <img width="444" height="166" src="/Image/normalHttpServer00.png">
389
+ 4. ์ธ์ ํ์ง? ์๊ฐ์ด ๋๋ฉด ์
ํ์ ์ถ๊ฐํด๋ณด์~
379
390
380
391
## Advanced Sample Code
381
392
> ์ค์ ์ฌ์ฉํ ๋ง ํ๊ฒ์?
You canโt perform that action at this time.
0 commit comments