server

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: MPL-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Autoscale *serverCfg.AutoscalerConfig
	Provider  *serverCfg.ProviderConfig
	Server    *serverCfg.Config
	Storage   *serverCfg.StorageConfig
	TLS       *serverCfg.TLSConfig
	Telemetry *serverCfg.TelemetryConfig
}

Config contains all the required configuration to setup and run a Chemtrail server as defined by an operator.

type HTTPServer

type HTTPServer struct {
	http.Server
	// contains filtered or unexported fields
}

func New

func New(l zerolog.Logger, cfg *Config) *HTTPServer

func (*HTTPServer) Start

func (h *HTTPServer) Start() error

func (*HTTPServer) Stop

func (h *HTTPServer) Stop() error

Directories

Path Synopsis
endpoints

Jump to

Keyboard shortcuts

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