server

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpProcessHandleFunc

type HttpProcessHandleFunc = func(w http.ResponseWriter, r *http.Request)

type HttpServer

type HttpServer struct {
	// contains filtered or unexported fields
}

func NewHttpServer

func NewHttpServer(options HttpServerOptions, processors *common.Processors, observability *common.Observability) *HttpServer

func (*HttpServer) Start

func (h *HttpServer) Start(wg *sync.WaitGroup)

type HttpServerOptions

type HttpServerOptions struct {
	HealthcheckURL string
	ImageURL       string

	ServerName string
	Listen     string
	Tls        bool
	Insecure   bool
	Cert       string
	Key        string
	Chain      string
}

Jump to

Keyboard shortcuts

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