Coder Social home page Coder Social logo

go-im-project's Introduction

Go-IM-project

项目简介: 为了巩固前期学习的Golang的基础知识,他是一个在线聊天项目,能够完成私聊、公聊、查询用户等功能。快速了解Golang写服务器的特点,顺带复习计算机网络的知识。

server中包含:server和user两种,user为个人用户,server为服务器。

OnilineMap:用来记录当前用户在线的情况。

channel:能够把消息广播给各个客户端。

user:两个go程,一个从channel中读取消息,一个负责从客户端发送消息。(读写分离)

架构图:项目架构.pdf

分析:https://blog.csdn.net/qq_43351888/article/details/124660593?spm=1001.2014.3001.5501

其他相关链接:

Golang 基础学习:https://blog.csdn.net/qq_43351888/article/details/124624663?spm=1001.2014.3001.5501 https://blog.csdn.net/qq_43351888/article/details/124624663?spm=1001.2014.3001.5501 https://blog.csdn.net/qq_43351888/article/details/124628449?spm=1001.2014.3001.5501 https://blog.csdn.net/qq_43351888/article/details/124628931?spm=1001.2014.3001.5501 https://blog.csdn.net/qq_43351888/article/details/124644038?spm=1001.2014.3001.5501

Golang:练手应用:https://blog.csdn.net/qq_43351888/article/details/124647429?spm=1001.2014.3001.5501

go-im-project's People

Contributors

ming-xmu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.