package
0.0.0-20240110034047-c46648fcfb86
Repository: https://github.com/shitingbao/socket.io_go.git
Documentation: pkg.go.dev
# README
redis adapter
see from socket.io-redis-adapter
1.communication method
1.1 Communication between nodes use the redis subscription model
1.2 And Multi-node layout uses nginx.see https://socket.io/zh-CN/docs/v4/reverse-proxy/#nginx or see nginx_config_test file;
This is just a simple example. For specific situations, you need to add logic to your project yourself.
error
_onpacket
function no ack function reback in cluder node in the cluster
# Functions
No description provided by the author
WithRedisAddress eg : 127.0.0.1:6379.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MessageType.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RequestType.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
HandMessage message processing unit use sync.pool Recycle.
this is the redis‘s information passed between channels.
type set can not json ,temporary processing @review.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author