Go to file
tangtaoit 34e40dd5e0 feat: ConnackPacket add NodeId 2024-04-29 22:25:45 +08:00
.github/workflows fix: update github action 2023-07-28 09:50:43 +08:00
.gitignore init 2023-07-28 09:37:42 +08:00
LICENSE init 2023-07-28 09:41:28 +08:00
README.md feat: msg add expire 2023-09-20 15:05:52 +08:00
common.go feat: ConnackPacket add NodeId 2024-04-29 22:25:45 +08:00
connack.go feat: ConnackPacket add NodeId 2024-04-29 22:25:45 +08:00
connack_test.go feat: add server version 2023-10-09 12:50:11 +08:00
connect.go feat: upgrade proto version 2023-10-08 17:00:22 +08:00
connect_test.go init 2023-07-28 09:37:12 +08:00
decoder.go fix: decoding error causing crash 2024-02-06 14:01:27 +08:00
decoder_test.go init 2023-07-28 09:37:12 +08:00
disconnect.go init 2023-07-28 09:37:12 +08:00
disconnect_test.go init 2023-07-28 09:37:12 +08:00
encoder.go feat: encoder增加对象池管理 2024-04-28 16:41:26 +08:00
go.mod feat: ConnackPacket add NodeId 2024-04-29 22:25:45 +08:00
go.sum feat: ConnackPacket add NodeId 2024-04-29 22:25:45 +08:00
ping.go init 2023-07-28 09:37:12 +08:00
ping_test.go init 2023-07-28 09:37:12 +08:00
pong.go init 2023-07-28 09:37:12 +08:00
pong_test.go init 2023-07-28 09:37:12 +08:00
protocol.go feat: ConnackPacket add NodeId 2024-04-29 22:25:45 +08:00
protocol_test.go init 2023-07-28 09:37:12 +08:00
recv.go feat: recvPacket add size props 2024-03-23 12:07:28 +08:00
recv_test.go feat: msg add expire 2023-09-20 15:05:52 +08:00
recvack.go init 2023-07-28 09:37:12 +08:00
recvack_test.go init 2023-07-28 09:37:12 +08:00
send.go feat: add server version 2023-10-09 12:50:11 +08:00
send_test.go feat: msg add expire 2023-09-20 15:05:52 +08:00
sendack.go init 2023-07-28 09:37:12 +08:00
sendack_test.go init 2023-07-28 09:37:12 +08:00
setting.go init 2023-07-28 09:37:12 +08:00
sub.go feat: add server version 2023-10-09 12:50:11 +08:00
sub_test.go init 2023-07-28 09:37:12 +08:00
suback.go init 2023-07-28 09:37:12 +08:00
suback_test.go init 2023-07-28 09:37:12 +08:00

README.md

WKProtoWuKongIM Protocol

1. 概述

WuKongIM ProtocolWKProto是一套基于TCP的二进制协议用于客户端与服务端之间的通信。WKProto的设计目标是简单、高效、易扩展。

2. 使用

go get github.com/WuKongIM/WuKongIMGoProto
import  (
    wkproto "github.com/WuKongIM/WuKongIMGoProto"
    ...
)

3. 协议格式

协议文档