Directories ¶
Path | Synopsis |
---|---|
Package assets manages imager file asset allocation and deallocation
|
Package assets manages imager file asset allocation and deallocation |
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. |
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 |
cmd
|
|
cutethumb
Image/video thumbnailer, run as a separate process and potentially from separate user for security reasons.
|
Image/video thumbnailer, run as a separate process and potentially from separate user for security reasons. |
TODO(Kagami): Somehow merge with server/errors.go
|
TODO(Kagami): Somehow merge with server/errors.go |
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. |
Package db handles all core database interactions of the server
|
Package db handles all core database interactions of the server |
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. |
Common structures and helpers to communicate between cutechan processes.
|
Common structures and helpers to communicate between cutechan processes. |
Internationalization support.
|
Internationalization support. |
Parses and verifies user-sent post data.
|
Parses and verifies user-sent post data. |
API error interface and centralized collection of all errors return by server.
|
API error interface and centralized collection of all errors return by server. |
Post formatting renderer.
|
Post formatting renderer. |
Package test contains utility functions used throughout the project in tests
|
Package test contains utility functions used throughout the project in tests |
Package util contains various general utility functions used throughout the project.
|
Package util contains various general utility functions used throughout the project. |
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 |
Click to show internal directories.
Click to hide internal directories.