Skip to content

Soypete/goChatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

goChatter

chat server written in go

Usage

To start the server use either

go build main.go ./main -server

or in a single command

go run main.go -server

This will allow you to see user's logging in about out and records of activity. To suppress to the background use

go build main.go ./main -server

To add user use the command

./main -user

if your use go build or if you built it in a single command use

go run main.go -client

The server will notify you that a connection has been made and allow you to send and receive messages.

To close the server cancel the run.

Explanation

This chat server what build following an exercise in The Go Programming Language by: Alan A.a. Donovan and Brian W. Kernighan github repo

Other Resource Used

http://choly.ca/post/go-experiments-with-handler/ https://gobyexample.com/command-line-flags https://gist.github.com/enricofoltran/10b4a980cd07cb02836f70a4ab3e72d7

About

chat server written in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages