package
module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Nov 9, 2022
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Safer Place Go Webserver
A semi-structured Safer Place webserver
Why
This is just an opinionated webserver implementation, standardized between all Go services
Documentation
¶
Option allows to override the default behaviour of the Server.
Logger overrides the default logger in the Server.
Services provides the server with the list of services which should be served.
Server hosts the connect service.
New creates a new connect server.
Run the server. If the TLSConfiguration is provided, the server will run securely,
otherwise it will run insecurely.
Service registers the service with the server, it
returns the path on which the server needs to be
registered and the handler for that path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.