chat

module
v0.0.0-...-e1bcdf1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2019 License: BSD-2-Clause

README

Chat server project

Quick help

Get: go get github.com/milla-v/chat/...
Doc: godoc -http=:6060 ; firefox http://localhost:6060/pkg/chat/

Goals and features

  • Extremely simple deployment of private chat server.
  • Secure over https.
  • Cross platform.
  • Web client, console client, API for any client.
  • Instant server upgrade using ocean tool.

Get and build chatd, chatc, ocean

go get github.com/milla-v/chat/...

Read documentation

Run document server

godoc -http=:6060

Open documentation

firefox http://localhost:6060/pkg/chat/

Run server

chatd

Open web client

firefox https://localhost:8085

Deploy to the cloud

ocean -def

Run console client

chatc

Useful aliases

alias gg='go install github.com/milla-v/chat/...'
alias nn='terminal-notifier -remove chatc'
alias gf='git format-patch origin/master'

gg -- install chat
nn -- hide chat notification on OSX
gf -- format patch

Directories

Path Synopsis
Package auth implements user registration and authentication for chat project.
Package auth implements user registration and authentication for chat project.
Package client implements simple console chat client.
Package client implements simple console chat client.
cmd
chat
chat command runs a chat server.
chat command runs a chat server.
chatc
chatc command runs a simple console chat client.
chatc command runs a simple console chat client.
chatembed
chatembed command generates embedded_files.go file from files directory.
chatembed command generates embedded_files.go file from files directory.
Package config implements chat service config.
Package config implements chat service config.
Package prot provides protocol structures for communication between chat server and client.
Package prot provides protocol structures for communication between chat server and client.
Package service implements chat http service.
Package service implements chat http service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL