Documentation
¶
Overview ¶
Package web provides the web server setup and HTTP utilities.
Package web provides web server setup and HTTP utilities.
Index ¶
- func NewClient(p ClientParams) *client.Client
- func NewMux(UIHandler http.Handler, APIHandlers http.Handler) *http.ServeMux
- func NewServer(mux *http.ServeMux) *http.Server
- func RegisterWebServerHooks(lifecycle fx.Lifecycle, httpServer *http.Server, logger log.Logger)
- type ClientParams
- type RouteParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientParams ¶
ClientParams contains the parameters needed for client creation
type RouteParams ¶
type RouteParams = server.RouteParams
RouteParams aliases server.RouteParams for backward compatibility
Directories
¶
Path | Synopsis |
---|---|
Package client provides HTTP client functionality for API interactions.
|
Package client provides HTTP client functionality for API interactions. |
Package config provides configuration structures for the web server.
|
Package config provides configuration structures for the web server. |
Package handlers provides API endpoints and HTTP request handlers.
|
Package handlers provides API endpoints and HTTP request handlers. |
Package middleware provides HTTP middleware components for the web server.
|
Package middleware provides HTTP middleware components for the web server. |
Package server provides HTTP server setup and lifecycle management.
|
Package server provides HTTP server setup and lifecycle management. |
Click to show internal directories.
Click to hide internal directories.