Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Sync
- Callback
- bitcoin
- 책
- File
- package
- tcp
- go언어
- Golang
- FOR
- 영화
- Linux
- 리뷰
- window
- write
- JavaScript
- install
- json
- range
- Close
- C
- c++
- channel
- API
- windows
- Python
- mutex
- GO 언어
- http
- go
Archives
- Today
- Total
목록ResponseWriter (1)
Code Habit

Go언어는 "net/http" 패키지를 통해 편리하게 HTTP서버를 만들 수 있다. func ListenAndServe(addr string, handler Handler) error : 웹 서버를 시작한다. func HandleFunc(pattern string, handler func(ResponseWriter, *Request)) : 경로별로 요청을 처리할 핸들러 함수 등록 type Employee struct { No int Age int Name string } func MakeWebHandler() http.Handler { mux := http.NewServeMux() mux.HandleFunc("/Employee", EmployeeHandler) return mux } func Employ..
카테고리 없음
2022. 11. 22. 21:07