src/

directory
v4.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2017 License: AGPL-3.0, AGPL-3.0-or-later

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
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.
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
websockets/feeds
Package feeds manages client synchronization to update feeds and provides a thread-safe interface for propagating messages to them and reassigning feeds to and from clients.
Package feeds manages client synchronization to update feeds and provides a thread-safe interface for propagating messages to them and reassigning feeds to and from clients.

Jump to

Keyboard shortcuts

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