Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
HTTPServer is a HTTP server wrapper
func NewHTTPServer ¶
func NewHTTPServer(cfg *config.Config) *HTTPServer
NewHTTPServer create new HTTP server
func (*HTTPServer) ListenAndServe ¶
func (s *HTTPServer) ListenAndServe()
ListenAndServe start HTTP server
type MetricsServer ¶
type MetricsServer struct {
// contains filtered or unexported fields
}
MetricsServer is a HTTP server for metrics
func NewMetricsServer ¶
func NewMetricsServer(cfg *config.Config) *MetricsServer
NewMetricsServer create new metrics server
func (*MetricsServer) ListenAndServe ¶
func (s *MetricsServer) ListenAndServe()
ListenAndServe start metrics server
type SMTPServer ¶
type SMTPServer struct {
// contains filtered or unexported fields
}
SMTPServer is a SMTP server
func NewSMTPHTTPServer ¶
func NewSMTPHTTPServer(cfg *config.Config) *SMTPServer
NewSMTPServer create new SMTP server
func (*SMTPServer) ListenAndServe ¶
func (s *SMTPServer) ListenAndServe()
ListenAndServe start SMTP server
Click to show internal directories.
Click to hide internal directories.