kim 是一个高性能分式式通信架构

Overview

KIM

King IM CLoud

简介

kim 是一个高性能分式式通信架构。 

代码演示

首先进入examples目录:

  1. 启用服务端
go run main.go mock_srv -p ws
INFO[0000] started                                       id=srv1 listen=":8000" module=ws.server
  1. 启用客户端
$ go run main.go mock_cli -p ws
WARN[0000] 1uWbA9ajf86A44J8t4k2AtsadQG receive message [hello from server ] 
WARN[0001] 1uWbA9ajf86A44J8t4k2AtsadQG receive message [hello from server ] 
WARN[0002] 1uWbA9ajf86A44J8t4k2AtsadQG receive message [hello from server ] 
WARN[0003] 1uWbA9ajf86A44J8t4k2AtsadQG receive message [hello from server ] 
...
Issues
  • 优化 & bug修改

    优化 & bug修改

    1. 优化 & bug修改:
    • (d *WebsocketDialer) DialAndHandshake 添加Dial超时逻辑
    • (c *ClientDemo) Start 当cli.Connect(addr)返回err时,程序应正常退出
    1. 一些细节:
    • 修改一些日志打印的级别
    • 修正英文拼写错误
    opened by dgqypl 1
Releases(v1.2)
Owner
klint
klint