configurablehttpprovider

package
v0.100.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns a new provider that reads the configuration from http server using the configured transport mechanism depending on the selected scheme. There are two types of transport supported: PlainText (HTTPScheme) and TLS (HTTPSScheme).

One example for http-uri: http://localhost:3333/getConfig One example for https-uri: https://localhost:3333/getConfig This is used by the http and https external implementations.

Types

type SchemeType

type SchemeType string
const (
	HTTPScheme  SchemeType = "http"
	HTTPSScheme SchemeType = "https"
)

Jump to

Keyboard shortcuts

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