Go to file
2024-11-24 10:16:57 +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
common.go feat: add temp channel type 2024-11-09 22:05:07 +08:00
connack_test.go feat: add server version 2023-10-09 12:50:11 +08:00
connack.go feat: ConnackPacket add NodeId 2024-04-29 22:25:45 +08:00
connect_test.go init 2023-07-28 09:37:12 +08:00
connect.go feat: add temp channel type 2024-11-09 22:05:07 +08:00
decoder_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
disconnect_test.go init 2023-07-28 09:37:12 +08:00
disconnect.go feat: add temp channel type 2024-11-09 22:05:07 +08:00
encoder.go fix: add payload size limit 2024-11-24 10:16:57 +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
LICENSE init 2023-07-28 09:41:28 +08:00
ping_test.go init 2023-07-28 09:37:12 +08:00
ping.go init 2023-07-28 09:37:12 +08:00
pong_test.go init 2023-07-28 09:37:12 +08:00
pong.go init 2023-07-28 09:37:12 +08:00
protocol_test.go init 2023-07-28 09:37:12 +08:00
protocol.go fix: add payload size limit 2024-11-24 10:16:57 +08:00
README.md feat: msg add expire 2023-09-20 15:05:52 +08:00
recv_test.go feat: msg add expire 2023-09-20 15:05:52 +08:00
recv.go perf: Memory optimization 2024-11-22 23:04:15 +08:00
recvack_test.go init 2023-07-28 09:37:12 +08:00
recvack.go feat: add temp channel type 2024-11-09 22:05:07 +08:00
send_test.go feat: msg add expire 2023-09-20 15:05:52 +08:00
send.go feat: add server version 2023-10-09 12:50:11 +08:00
sendack_test.go init 2023-07-28 09:37:12 +08:00
sendack.go feat: add temp channel type 2024-11-09 22:05:07 +08:00
setting.go init 2023-07-28 09:37:12 +08:00
sub_test.go init 2023-07-28 09:37:12 +08:00
sub.go feat: add temp channel type 2024-11-09 22:05:07 +08:00
suback_test.go init 2023-07-28 09:37:12 +08:00
suback.go feat: add temp channel type 2024-11-09 22:05:07 +08:00

WKProtoWuKongIM Protocol

1. 概述

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

2. 使用

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

3. 协议格式

协议文档