httpserver

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package httpserver constructs and starts the HTTP server for an Adele application.

It builds a net/http.Server configured from the application's environment, routes, and logger, then listens for and serves incoming connections.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(adele *adele.Adele) *http.Server

Create a new http server for use with the adele skeleton application.

func Start

func Start(adele *adele.Adele) error

Creates a new http server, listens on the TCP network address srv.Addr and then calls server to handle requests on incoming connections. Accepted connections are configured to enable TCP keep-alives.

Types

This section is empty.

Jump to

Keyboard shortcuts

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