repl

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

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