Directories ¶
Path | Synopsis |
---|---|
Package app provides the central entry point to read in the config, setup the server and start services
|
Package app provides the central entry point to read in the config, setup the server and start services |
Package config provides the top-level config struct
|
Package config provides the top-level config struct |
Package constants provides different constant values
|
Package constants provides different constant values |
Package installer provides utilities for installing a Chapper instance
|
Package installer provides utilities for installing a Chapper instance |
Package log provides logging utilities
|
Package log provides logging utilities |
Package models provides model structs
|
Package models provides model structs |
modules
|
|
avatar
Package avatar is reponsible for creating avatar images Thanks to https://github.com/taironas/tinygraphs
|
Package avatar is reponsible for creating avatar images Thanks to https://github.com/taironas/tinygraphs |
hash
Package hash provides multiple hash functions
|
Package hash provides multiple hash functions |
jwt
Package jwt provides utilities to genearte and validate JWT credentials
|
Package jwt provides utilities to genearte and validate JWT credentials |
twofa
Package twofa provides utilities to generate and validate 2FA codes
|
Package twofa provides utilities to generate and validate 2FA codes |
Package router provides the top-level router
|
Package router provides the top-level router |
handlers
Package handlers provides HTTP handlers
|
Package handlers provides HTTP handlers |
Package services provides different services which combine functions from modules and the store interface
|
Package services provides different services which combine functions from modules and the store interface |
errors
Package errors provides service level errors
|
Package errors provides service level errors |
Package store provides an interface for all database operations
|
Package store provides an interface for all database operations |
schemas
Package schemas provides database schemas
|
Package schemas provides database schemas |
transport
|
|
bridge
Package bridge provides utilities to create, keep track of and delete WebRTC calls
|
Package bridge provides utilities to create, keep track of and delete WebRTC calls |
broadcast
Package broadcast provides utilities to broadcast messages Inspired by https://github.com/DATA-DOG/golang-websocket-hub and https://github.com/gorilla/websocket/tree/master/examples/chat
|
Package broadcast provides utilities to broadcast messages Inspired by https://github.com/DATA-DOG/golang-websocket-hub and https://github.com/gorilla/websocket/tree/master/examples/chat |
turn
Package turn provides utilities to run a TURN server
|
Package turn provides utilities to run a TURN server |
Package utils provides small utility functions
|
Package utils provides small utility functions |
Click to show internal directories.
Click to hide internal directories.