Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GatewayI ¶
type GatewayI interface {
IncrementRecvCount(count uint64)
IncrementAckCount(count uint64)
TrackRequestMetrics(errorMessage string)
ProcessWebRequest(writer *http.ResponseWriter, req *http.Request, reqType string, requestPayload []byte, writeKey string) string
GetWebhookSourceDefName(writeKey string) (name string, ok bool)
NewSourceStat(writeKey, reqType string) *gwstats.SourceStat
}
type HandleT ¶
type HandleT struct {
// contains filtered or unexported fields
}
func (*HandleT) RequestHandler ¶
func (webhook *HandleT) RequestHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.