Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithTLS ¶
func WithTLS(certFile, keyFile string) func(s *HttpServer) error
Types ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(address string, requestsChan chan common.UpdateRecordRequest, opts ...WebhookOpts) (*HttpServer, error)
func (*HttpServer) IsTLSConfigured ¶
func (s *HttpServer) IsTLSConfigured() bool
type WebhookOpts ¶
type WebhookOpts func(*HttpServer) error
Click to show internal directories.
Click to hide internal directories.