sermo

command module
v0.0.0-...-d0d622f Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: MIT Imports: 4 Imported by: 0

README

Sermo

A chat server written in Go using Pion WebRTC and JWT authentication.

Build Status

Made with:


Routes:

  • User routes:

    • [POST] /user - register user with email, password
      • {email, password}
    • [POST] /user/login - user login with email, password
      • {email, password}
    • [GET] /user/:id - retrieves a specific user
    • [GET] /users (Auth required) - retrieves list of users
    • [PUT] /user/:id (Auth required) - update user details
      • {email, password}
    • [DELETE] /user/:id (Auth required) - delete user by id
  • Channel routes:

    • [GET] /channel/:id - retrieves a specific channel
    • [POST] /channel (Auth required) - register channel with string, int attributes
      • {channelname, maxpopulation}
    • [GET] /channel (Auth required) - retrieves list of channel
    • [PUT] /channel/:id (Auth required) - update channel details
      • {strattr, intattr}
    • [DELETE] /channel/:id (Auth required) - delete channel by id

Links:

Todo:

  • need to add more fields to models

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
api

Jump to

Keyboard shortcuts

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