Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPManager ¶
type HTTPManager struct {
// contains filtered or unexported fields
}
HTTPManager represents the various methods for interacting with Pigeon.
func NewHTTP ¶
func NewHTTP(opts HTTPOpts) (*HTTPManager, error)
NewHTTP initializes a HTTP notification dispatcher object.
func (*HTTPManager) Name ¶
func (m *HTTPManager) Name() string
Name returns the notification provider name.
func (*HTTPManager) Ping ¶
func (m *HTTPManager) Ping(url string, status int) error
Ping does a simple HTTP GET request to the
func (*HTTPManager) Push ¶
func (m *HTTPManager) Push(data []byte) error
Push sends out events to an HTTP Endpoint.
Click to show internal directories.
Click to hide internal directories.