Documentation ¶
Overview ¶
Package pslive provides the Planktoscope Live server.
Index ¶
- func NewCSRFErrorHandler(tr godest.TemplateRenderer, l echo.Logger, ss *session.Store) http.HandlerFunc
- func NewHTTPErrorHandler(tr godest.TemplateRenderer, ss *session.Store) echo.HTTPErrorHandler
- func NewRegoModules() []opa.Module
- func RegoDeps() []opa.Module
- type ErrorData
- type Server
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCSRFErrorHandler ¶
func NewCSRFErrorHandler( tr godest.TemplateRenderer, l echo.Logger, ss *session.Store, ) http.HandlerFunc
func NewHTTPErrorHandler ¶
func NewHTTPErrorHandler(tr godest.TemplateRenderer, ss *session.Store) echo.HTTPErrorHandler
func NewRegoModules ¶ added in v0.1.15
Types ¶
type ErrorData ¶
type ErrorData struct { Code int Error httperr.DescriptiveError Messages []string }
Directories ¶
Path | Synopsis |
---|---|
Package auth provides application-level standardization for authentication
|
Package auth provides application-level standardization for authentication |
Package client contains client code for external APIs
|
Package client contains client code for external APIs |
Package conf supports environment variable-based application configuration
|
Package conf supports environment variable-based application configuration |
Package handling provides reusable handlers.
|
Package handling provides reusable handlers. |
Package routes contains the route handlers for the Planktoscope Live server.
|
Package routes contains the route handlers for the Planktoscope Live server. |
assets
Package assets contains the route handlers for assets which are static for the server
|
Package assets contains the route handlers for assets which are static for the server |
auth
Package auth contains the route handlers related to authentication and authorization.
|
Package auth contains the route handlers related to authentication and authorization. |
cable
Package cable contains the route handlers serving Action Cables over WebSockets by implementing the Action Cable Protocol (https://docs.anycable.io/misc/action_cable_protocol) on the server.
|
Package cable contains the route handlers serving Action Cables over WebSockets by implementing the Action Cable Protocol (https://docs.anycable.io/misc/action_cable_protocol) on the server. |
home
Package home contains the route handlers related to the app's home screen.
|
Package home contains the route handlers related to the app's home screen. |
instruments
Package instruments contains the route handlers related to imaging instruments.
|
Package instruments contains the route handlers related to imaging instruments. |
privatechat
Package privatechat contains the route handlers related to private chats.
|
Package privatechat contains the route handlers related to private chats. |
users
Package users contains the route handlers related to users.
|
Package users contains the route handlers related to users. |
videostreams
Package videostreams contains the route handlers related to streaming video delivery
|
Package videostreams contains the route handlers related to streaming video delivery |
Package tmplfunc contains extension functions for templates
|
Package tmplfunc contains extension functions for templates |
Package workers provides functionality which runs independently of request servicing.
|
Package workers provides functionality which runs independently of request servicing. |
Click to show internal directories.
Click to hide internal directories.