Documentation
¶
Overview ¶
This file provides a rewrap of the relevant remux package. This is done to make migration easier, and to minimize the impact of this refactor
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func API ¶
func API(db *database.Connection, contentStore contentstore.Store, logger logging.Logger) http.Handler
func Web ¶
func Web(db *database.Connection, contentStore contentstore.Store, config *WebConfig) http.Handler
Types ¶
type WebConfig ¶
type WebConfig struct { DBConnection *database.Connection AuthSchemes []authschemes.AuthScheme CSRFAuthKey []byte SessionStoreKey []byte UseSecureCookies bool Logger logging.Logger }
Click to show internal directories.
Click to hide internal directories.