server

package
v1.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(ctx context.Context, handler http.Handler, port, sslKeyPath, sslCertPath string) error

StartServer starts an HTTP or HTTPS server with graceful shutdown support. Uses the provided hanlder and port, and supports TLS for Production mode. Returns an error if the server fails to start or encounters issues during operation.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL