Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventServer ¶
type EventServer struct {
// contains filtered or unexported fields
}
EventServer handles event POST requests
func NewEventServer ¶
NewEventServer returns an HTTP server that handles events
func (*EventServer) ListenAndServe ¶
func (s *EventServer) ListenAndServe(stopCh <-chan struct{})
ListenAndServe starts the HTTP server on the specified port
type ReceiverServer ¶
type ReceiverServer struct {
// contains filtered or unexported fields
}
ReceiverServer handles webhook POST requests
func NewReceiverServer ¶
NewEventServer returns an HTTP server that handles webhooks
func (*ReceiverServer) ListenAndServe ¶
func (s *ReceiverServer) ListenAndServe(stopCh <-chan struct{})
ListenAndServe starts the HTTP server on the specified port
Click to show internal directories.
Click to hide internal directories.