質問編集履歴

1

Goの質問に変更

2021/02/10 23:30

投稿

huskies
huskies

スコア2

test CHANGED
File without changes
test CHANGED
@@ -66,15 +66,7 @@
66
66
 
67
67
  **/ws ** にアクセスした際のハンドリングです。
68
68
 
69
- 例えば以下の情報を出力すると:
70
-
71
- fmt.Println("current path: ", r.RequestURI) = /ws
72
-
73
- fmt.Println("current path: ", r.Header) =
74
-
75
- > map[Accept-Encoding:[gzip, deflate, br] Accept-Language:[en-US,en;q=0.9,ja-JP;q=0.8,ja;q=0.7] Cache-Control:[no-cache] Connection:[Upgrade] Cookie:[_ga=GA1.1.110261969.1611708584; _ga_1Z87DF3P1L=GS1.1.1611816887.4.1.1611817231.0] Origin:[http://localhost:8080] Pragma:[no-cache] Sec-Websocket-Extensions:[permessage-deflate; client_max_window_bits] Sec-Websocket-Key:[jAwTTppnUNp/CzkO1Y9kMw==] Sec-Websocket-Version:[13] Upgrade:[websocket] User-Agent:[Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
76
-
77
- > Chrome/88.0.4324.150 Safari/537.36]]
69
+
78
70
 
79
71
  ```ここに言語を入力
80
72