project-glynn

module
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MIT

README ΒΆ

Project Glynn

CLI chats with a server & client for communication in different chat rooms with any number of users.

For simplicity as "chat room" will be used just "room".

πŸ•’ - delayed for an unknown amount of time

Server

  • Configs:
    • πŸ•’ Read configs
    • Parse CLI args
  • Types:
    • User, Message, Room
    • Data repository
    • Service
  • Docker:
    • App build container
    • App run container
    • Cassandra container
  • Cassandra:
    • Connect to Cassandra
    • Init Cassandra's keyspace & tables
  • Basic info:
    • Start server (display initial server info)
    • Logging
    • Swagger UI
  • Service:
    • Get messages
    • Send message
    • Create room
    • Delete room
    • Validate room
    • Validate user
    • Validate message
    • Get info
  • Server (HTTP):
    • Handle if user is new
    • Handle get messages
    • Handle new messages
    • Handle room creation
    • Handle room deletion
    • Handle admin authentication middleware
    • Handle server info
    • πŸ•’ Handle user connection to room
    • πŸ•’ Handle user disconnection from room
    • πŸ•’ Handle user connection status
  • Server (gRPC):
    • Future plans
  • Encryption
    • Future plans

Client

  • Configs:
    • πŸ•’ Read configs
    • Parse CLI args
  • Types:
    • Service
  • Service (HTTP):
    • User creation
    • Read messages
    • Format massages
    • Create room
    • Delete room
    • Server info
    • πŸ•’ Connection status (for the server)
    • πŸ•’ Create connection to room
  • Service (gRPC):
    • Future plans
  • Encryption
    • Future plans

Directories ΒΆ

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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