server

package
v1.6.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebServer

type WebServer interface {
	SetPorts(httpPort, httpsPort int) WebServer
	SetMetricsEnabled(enabled bool) WebServer
	SetServePath(fileSystemServePath string, metricsServePath string) WebServer
	SetDirectory(dir string) error
	SetCertificateFile(certificateFilePath string) WebServer
	SetPrivateKey(privateKeyFilePath string) WebServer
	SetVerbose(verbose bool) WebServer
	Serve()
}

func NewWebServer

func NewWebServer() WebServer

type WebServerImpl

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

func (*WebServerImpl) Serve

func (this *WebServerImpl) Serve()

func (*WebServerImpl) SetCertificateFile

func (this *WebServerImpl) SetCertificateFile(certificateFilePath string) WebServer

func (*WebServerImpl) SetDirectory

func (this *WebServerImpl) SetDirectory(dir string) error

func (*WebServerImpl) SetMetricsEnabled

func (this *WebServerImpl) SetMetricsEnabled(enabled bool) WebServer

func (*WebServerImpl) SetPorts

func (this *WebServerImpl) SetPorts(httpPort, httpsPort int) WebServer

func (*WebServerImpl) SetPrivateKey

func (this *WebServerImpl) SetPrivateKey(privateKeyFilePath string) WebServer

func (*WebServerImpl) SetServePath

func (this *WebServerImpl) SetServePath(fileSystemServePath string, metricsServePath string) WebServer

func (*WebServerImpl) SetVerbose

func (this *WebServerImpl) SetVerbose(verbose bool) WebServer

Jump to

Keyboard shortcuts

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