当前位置:网站首页>Go practice -- gorilla / websocket used by gorilla web Toolkit
Go practice -- gorilla / websocket used by gorilla web Toolkit
2022-07-03 05:12:00 【Jiangnan - crossing the river with a reed】
The statement goes beyond , continue go go go!!!
About websocket, Not strange .
I have also been introduced by blog before golang Use in websocket, Two third-party libraries are introduced :
gorilla/websocket
nkovacs/go-socket.io
therefore , Take advantage of the introduction gorilla Tools blog series , Today, I'll introduce it again gorilla/websocket.
WebSocket
WebSocket yes HTML5 Start to provide a browser and server for full duplex communication network technology . WebSocket The communication protocol is 2011 By the IETF Set it as a standard RFC 6455,WebSocketAPI By W3C Set it as a standard . stay WebSocket API in , Browser and server just need to do a handshake , then , This creates a fast channel between the browser and the server . Data can be transmitted directly between the two .
TCP: low-level, bi-directional, full-duplex, and guaranteed or
边栏推荐
- Notes | numpy-08 Advanced index
- [backtrader source code analysis 4] use Python to rewrite the first function of backtrader: time2num, which improves the efficiency by 2.2 times
- 1107 social clusters (30 points)
- 【实战项目】自主web服务器
- 1106 lowest price in supply chain (25 points)
- 编译GCC遇到的“pthread.h” not found问题
- [set theory] relation properties (reflexivity | reflexivity theorem | reflexivity | reflexivity theorem | example)
- 1095 cars on campus (30 points)
- appium1.22. Appium inspector after X version needs to be installed separately
- Learning record of arouter principle
猜你喜欢
Oracle SQL table data loss
On typescript and grammar
Retirement plan fails, 64 year old programmer starts work again
Automatic voltage rise and fall 5-40v multi string super capacitor charging chip and solution
谷歌 | 蛋白序列的深度嵌入和比对
Botu uses peek and poke for IO mapping
Do you know UVs in modeling?
Cross platform plug-in flutter for displaying local notifications_ local_ notifications
Celebrate the new year together
JS dynamic table creation
随机推荐
Learn to use the idea breakpoint debugging tool
Yolov5 input (II) | CSDN creative punch in
[research materials] 2022q1 game preferred casual game distribution circular - Download attached
Without 50W bride price, my girlfriend was forcibly dragged away. What should I do
Learning record of arouter principle
[research materials] annual report of China's pension market in 2021 - Download attached
Class loading mechanism (detailed explanation of the whole process)
Caijing 365 stock internal reference: what's the mystery behind the good father-in-law paying back 50 million?
Burp suite plug-in based on actual combat uses tips
Web APIs exclusivity
112 stucked keyboard (20 points)
JQ style, element operation, effect, filtering method and transformation, event object
【批处理DOS-CMD命令-汇总和小结】-CMD窗口的设置与操作命令-关闭cmd窗口、退出cmd环境(exit、exit /b、goto :eof)
Do you know UVs in modeling?
ES7 easy mistakes in index creation
[backtrader source code analysis 5] rewrite several time number conversion functions in utils with Python
appium1.22. Appium inspector after X version needs to be installed separately
[basic grammar] C language uses for loop to print Pentagram
Redis expiration elimination mechanism
Botu uses peek and poke for IO mapping