package
Version:
v0.0.0-...-24d3403
Opens a new window with list of versions in this module.
Published: Oct 9, 2025
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func New(options ...Option) *server
New returns a new server.
NewLogger creates a new slog with a JSON handler.
NewRouter creates a new router.
type Option func(*server)
Option is a function that configures the server.
WithOptions configures the server with the given Options.
Options holds the configuration for the server.
TLSConfig holds the configuration for the server's TLS settings.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.