Documentation ¶
Overview ¶
Package web contains the server, routing, and handlers logic.
Package web contains the server, routing, and handlers logic.
Package web contains the server, routing, and handlers logic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Port string TemplateDir string AssetPath string AssetDir string Articles *db.ArticlesDBByDate Questions db.QuestionsDB QuestionCounter db.QuestionCounter Topics db.TopicsMap Ctx context.Context Srv *sheets.Service }
Server represents all objects to be initialised in the application.
Click to show internal directories.
Click to hide internal directories.