A simple MVC chat service.

A simple MVC chat service

Installation

1. You need a go development environment setup before everything starts taking off.

2. Use git clone to clone the repo to your local folder.

git clone https://github.com/gogf/gf-demo-chat

3. Run command go run main.go, and you'll see something as follows if success:

  ADDRESS | METHOD |      ROUTE      |                                HANDLER                                 |    MIDDLEWARE      
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
  :8199   | ALL    | /*              | github.com/gogf/gf/v2/net/ghttp.internalMiddlewareServerTracing        | GLOBAL MIDDLEWARE  
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
  :8199   | ALL    | /*              | github.com/gogf/gf/v2/net/ghttp.MiddlewareHandlerResponse              | GLOBAL MIDDLEWARE  
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
  :8199   | ALL    | /api.json       | github.com/gogf/gf/v2/net/ghttp.(*Server).openapiSpec                  |                    
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
  :8199   | GET    | /chat           | github.com/gogf/gf-demo-chat/v2/internal/controller.(*hChat).Index     |                    
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
  :8199   | POST   | /chat/name      | github.com/gogf/gf-demo-chat/v2/internal/controller.(*hChat).Name      |                    
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
  :8199   | GET    | /chat/websocket | github.com/gogf/gf-demo-chat/v2/internal/controller.(*hChat).Websocket |                    
----------|--------|-----------------|------------------------------------------------------------------------|--------------------
  :8199   | ALL    | /swagger/*      | github.com/gogf/gf/v2/net/ghttp.(*Server).swaggerUI                    | HOOK_BEFORE_SERVE  
----------|--------|-----------------|------------------------------------------------------------------------|--------------------

GoFrame Sites

GoFrame Repo

GoFrame Home

Owner
GoFrame
The GoFrame Organization.
GoFrame
Similar Resources

a golang web mvc framework, like asp.net mvc.

goku goku is a Web Mvc Framework for golang, mostly like ASP.NET MVC. doc & api Installation To install goku, simply run go get github.com/QLeelulu/go

Dec 7, 2022

A simple MVC chat service.

A simple MVC chat service Installation 1. You need a go development environment setup before everything starts taking off. 2. Use git clone to clone t

Dec 7, 2022

Websocket-chat - A simple websocket chat application

Websocket-chat - A simple websocket chat application

WebSocket Chat App This is a simple chat app based on websockets. It allows user

Jan 25, 2022

a distributed chat system which can be used as chat rooms or state synchronization

a distributed chat system which can be used as chat rooms or state synchronization

unitalk is a distributed chat system which can be used as chat rooms or state synchronization. unitalk registers itself on zookeeper when it start up, use redis cluster to broadcast messages or state, and permanent messages or state to kafka and then save to db.

Aug 5, 2021

Placeholder for the future project (lets-go-chat)Placeholder for the future project (lets-go-chat)

Placeholder for the future project (lets-go-chat)Placeholder for the future project (lets-go-chat)

Jan 10, 2022

go-chat is a gRPC based chat CLI written in golang for command line lovers

go-chat is a gRPC based chat CLI written in golang for command line lovers

go-chat go-chat is a gRPC based chat CLI written in golang for command line lovers. This CLI allows you to chat with your friends without leaving the

Oct 14, 2022

Encrypted-websocket-chat - Encrypted websocket chat using golang

Encrypted websocket chat First version written in python This version should be

Sep 15, 2022

Tcp chat go - Create tcp chat in golang

TCP chat in GO libs Go net package and goroutines and channels tcp tcp or transm

Feb 5, 2022

Go-random-chat - Fast and scalable real-time random chat written in go

Go-random-chat - Fast and scalable real-time random chat written in go

Go Random Chat Fast and scalable real-time random chat written in go. Features:

Dec 21, 2022

Chat - Console mode chat done in Go, PHP and MySQL

Chat modo consola hecho en GO y PHP(https://github.com/RicardoValladares/AJAX) G

Nov 10, 2022

A lightweight MVC framework for Go(Golang)

utron utron is a lightweight MVC framework in Go (Golang) for building fast, scalable and robust database-driven web applications. Features Postgres,

Nov 26, 2022

A lightweight MVC framework for Go(Golang)

utron utron is a lightweight MVC framework in Go (Golang) for building fast, scalable and robust database-driven web applications. Features Postgres,

Dec 31, 2022

The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |

The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |

News This is the under-development branch. Stay tuned for the upcoming release v12.2.0. Looking for a stable release? Head over to the v12.1.8 branch

Dec 28, 2022

GoCondor is a golang web framework with an MVC like architecture, it's based on Gin framework

GoCondor is a golang web framework with an MVC like architecture, it's based on Gin framework

GoCondor is a golang web framework with an MVC like architecture, it's based on Gin framework, it features a simple organized directory structure for your next project with a pleasant development experience, made for developing modern APIs and microservices.

Dec 29, 2022

基于Golang的框架Gin开发,项目结构和理念参考Laravel。现支持:MySQL、Redis、MVC、拦截器、助手函数、fresh热更、swagger-UI、tpl模版输出、安全的Api。

GinLaravel的构建和运行周期与Beego、Vue、React、Laravel、ThinkPHP、Django等都会有类似的引导思路、参数设置、插件扩展、服务部署、代码统一性、生态护城河等。

Nov 18, 2022

A shot API template following MVC model

Go API template This project is mainly personnal, to have a quick ready-to-go API template in go using gin gonic How does it works ? Main call interna

Nov 23, 2021

The Humboldt Web Framework and Toolkit. Using this as an interpeter and server, build webistes in an MVC pattern using Lua.

Humboldt Web Framework Humboldt is a framework written in Go using Lua files to build web applications. What is this framework for? People who want to

Jan 21, 2022

Mvc+go+mysqlのrest API テンプレートリポジトリ

rest-api-temp リポジトリ概要 アドベントカレンダー用に作成 https://qiita.com/advent-calendar/2021/hcb-2021 用途 迅速にrest apiを作らなきゃいけない場合のテンプレート 注意 テンプレートAPIの使用はdocs/api.mdに記載

Dec 15, 2021

Golang rest API with MVC pattern, this job challenge is for the task for super_pay firm

Golang Rest Api with Docker Golang Gin Test Mvc Design Restapi let's start for build docker-compose up --build start docker-compose up stop docker-com

Dec 13, 2022
Encrypted-websocket-chat - Encrypted websocket chat using golang

Encrypted websocket chat First version written in python This version should be

Sep 15, 2022
simpleChatInGo - This is a simple chat that i made for fun asnd learn more about websocket
simpleChatInGo - This is a simple chat that i made for fun asnd learn more about websocket

simpleChatInGo This is a simple chat that i made for fun asnd learn more about websocket deploy For deploy this you only need to run the command : $ d

Sep 21, 2022
This application shows how to use the websocket package to implement a simple web chat application.

Chat Example This application shows how to use the websocket package to implement a simple web chat application. Running the example The example requi

Nov 14, 2021
Simple Chat App built with Go, Websocket, etc

Go - Simple Chat Usage: 1. Clone Repository git clone https://github.com/aesuhaendi/go-simple-chat.git 2. Running HTTP Server go run . If you are us

Oct 4, 2021
Chat bots (& more) for Zoom by figuring out their websocket protocol
Chat bots (& more) for Zoom by figuring out their websocket protocol

zoomer - Bot library for Zoom meetings Good bot support is part of what makes Discord so nice to use. Unfortunately, the official Zoom API is basicall

Dec 14, 2022
Simle websocket chat on Golang

WebsocketChat Simle websocket chat on Golang Installation (with comiling binary files): cd projectDir/cmd/app/server - change current directory go bui

Nov 1, 2021
A small and basic service to echo requests made via websockets

Ping Service A small and basic service to echo requests made via websockets, can be useful for measuring latency between clients and this service. Run

Nov 18, 2021
Simple example for using Turbos Streams in Go with the Gorilla WebSocket toolkit.

Go Example for TurboStreams over WebSockets Simple example for using Turbos Streams in Go with the Gorilla WebSocket toolkit.

Dec 22, 2022
a simple shitty project for learn more about websockets

video-transmission A simple shitty project for learn more about websockets. For run this you only need to have docker in your computer and then execut

Mar 29, 2022
A simple server to convert ATK-IMU901 serial data into websocket stream

A simple server to convert ATK-IMU901 serial data into WebSocket stream.

Jan 31, 2022