Directories ¶
Path | Synopsis |
---|---|
auth
Package auth determines and asserts client permissions to access and modify server resources.
|
Package auth determines and asserts client permissions to access and modify server resources. |
cache
Package cache provides an in-memory LRU cache for reducing the duplicate workload of database requests and post HTML and JSON generation
|
Package cache provides an in-memory LRU cache for reducing the duplicate workload of database requests and post HTML and JSON generation |
common
Package common contains common shared types, variables and constants used throughout the project
|
Package common contains common shared types, variables and constants used throughout the project |
config
Package config stores and exports the configuration for server-side use and the public availability JSON struct, which includes a small subset of the server configuration.
|
Package config stores and exports the configuration for server-side use and the public availability JSON struct, which includes a small subset of the server configuration. |
db
Package db handles all core database interactions of the server
|
Package db handles all core database interactions of the server |
imager
Package imager handles image, video, etc.
|
Package imager handles image, video, etc. |
imager/assets
Package assets manages imager file asset allocation and deallocation
|
Package assets manages imager file asset allocation and deallocation |
parser
Package parser parses and verifies user-sent post data
|
Package parser parses and verifies user-sent post data |
server
Package server handles client requests for HTML page rendering, JSON and websocket connections
|
Package server handles client requests for HTML page rendering, JSON and websocket connections |
server/websockets
Package websockets manages active websocket connections and messages received from and sent to them
|
Package websockets manages active websocket connections and messages received from and sent to them |
templates
Package templates generates and stores HTML templates
|
Package templates generates and stores HTML templates |
test
Package test contains utility functions used throughout the project in tests
|
Package test contains utility functions used throughout the project in tests |
util
Package util contains various general utility functions used throughout the project.
|
Package util contains various general utility functions used throughout the project. |
Click to show internal directories.
Click to hide internal directories.