Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var ( ErrInvalidHTTPMethod = errors.New("invalid HTTP Method") ErrParsingPayload = errors.New("error parsing payload") ErrBasicAuthVerificationFailed = errors.New("basic auth verification failed") )
parse errors
      View Source
      
  var Options = WebhookOptions{}
    Options is a namespace var for configuration options
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
type Webhook struct {
	// contains filtered or unexported fields
}
    Webhook instance contains all methods needed to process events
type WebhookOptions ¶
type WebhookOptions struct{}
    WebhookOptions is a namespace for configuration option methods
func (WebhookOptions) BasicAuth ¶
func (WebhookOptions) BasicAuth(username, password string) Option
BasicAuth verifies payload using basic auth
 Click to show internal directories. 
   Click to hide internal directories.