Documentation
¶
Overview ¶
Package server represents the webserver that powers S&D.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option represent an configuration option for the server.
func WithAdditionalRoutes ¶
func WithAdditionalRoutes(routes ...func(e *echo.Group)) Option
WithAdditionalRoutes adds additional routes to the server.
func WithDataDir ¶
WithDataDir sets the data directory of the Server.
func WithPrinter ¶
WithPrinter registers a printer in the Server.
Click to show internal directories.
Click to hide internal directories.