Documentation ¶
Index ¶
Constants ¶
View Source
const SchemeHTTP = "webhook+http"
View Source
const SchemeHTTPS = "webhook" //HTTPS
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookClient ¶
type WebhookClient struct { Url string Method string Header http.Header ContentType string AdditionalHeaders map[string]string // contains filtered or unexported fields }
func (*WebhookClient) Export ¶
func (w *WebhookClient) Export(data []byte) error
func (*WebhookClient) SetDestName ¶
func (w *WebhookClient) SetDestName(name string) error
func (*WebhookClient) SetUploadUrl ¶
func (w *WebhookClient) SetUploadUrl(_url string) error
type WebhookHTTPClient ¶
type WebhookHTTPClient struct {
WebhookClient
}
func (*WebhookHTTPClient) Scheme ¶
func (w *WebhookHTTPClient) Scheme() string
func (*WebhookHTTPClient) UsageInfo ¶
func (w *WebhookHTTPClient) UsageInfo() string
type WebhookHTTPSClient ¶
type WebhookHTTPSClient struct {
WebhookClient
}
func (*WebhookHTTPSClient) Scheme ¶
func (w *WebhookHTTPSClient) Scheme() string
func (*WebhookHTTPSClient) UsageInfo ¶
func (w *WebhookHTTPSClient) UsageInfo() string
Click to show internal directories.
Click to hide internal directories.