Documentation ¶
Overview ¶
Package repl provides an http server with healthchecks, prometheus and so on endpoints.
The repl package's constructor is self-initialized by fx and bootstrapper. Configs are populated via yaml values or env variables. Env variables overwrite yaml configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService( replConfig *config.ServerConfig, corsConfig *config.CORSConfig, ) *http.Server
An http REPL server constructor. Called automatically by fx and bootstrapper.
Returns a fully configured and ready to use http repl server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.