Documentation
¶
Overview ¶
Package server represents the webserver that powers S&D.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultSettings ¶ added in v1.3.0
Types ¶
type Option ¶
Option represent an configuration option for the server.
func WithAdditionalRoutes ¶ added in v1.0.1
WithAdditionalRoutes adds additional routes to the server.
func WithDataDir ¶ added in v1.0.1
WithDataDir sets the data directory of the Server.
func WithDefaultSettings ¶ added in v1.3.0
WithDefaultSettings overrides the settings created for a new user database.
func WithFilePicker ¶ added in v1.3.0
func WithFilePicker(filePicker rpc.FilePicker) Option
func WithPrinter ¶
WithPrinter registers a printer in the Server.
Click to show internal directories.
Click to hide internal directories.