Documentation ¶
Index ¶
- type WebServer
- type WebServerImpl
- func (this *WebServerImpl) Serve()
- func (this *WebServerImpl) SetCertificateFile(certificateFilePath string) WebServer
- func (this *WebServerImpl) SetDirectory(dir string) error
- func (this *WebServerImpl) SetMetricsEnabled(enabled bool) WebServer
- func (this *WebServerImpl) SetPorts(httpPort, httpsPort int) WebServer
- func (this *WebServerImpl) SetPrivateKey(privateKeyFilePath string) WebServer
- func (this *WebServerImpl) SetServePath(fileSystemServePath string, metricsServePath string) WebServer
- func (this *WebServerImpl) SetVerbose(verbose bool) WebServer
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
Click to show internal directories.
Click to hide internal directories.