Documentation ¶ Index ¶ func Start(ctx context.Context, addr string, mux *http.ServeMux) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Start ¶ func Start(ctx context.Context, addr string, mux *http.ServeMux) error Start starts a new HTTP server and manages its lifecycle. This is a convenience function since Go does not manage interrupt signals directly. It returns nil after a graceful shutdown on SIGINT or SIGTERM. Types ¶ This section is empty. Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.